Package com.openfin.desktop.nix
Class NamedPipePortHandler
java.lang.Object
com.openfin.desktop.nix.NamedPipePortHandler
- All Implemented Interfaces:
PortDiscoveryHandler
public class NamedPipePortHandler extends java.lang.Object implements PortDiscoveryHandler
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
NamedPipePortHandler.PipeMessageThread
static class
NamedPipePortHandler.SockAddr
protected class
NamedPipePortHandler.TimeoutThread
-
Constructor Summary
Constructors Constructor Description NamedPipePortHandler(java.lang.String pipeName)
-
Method Summary
Modifier and Type Method Description java.lang.String
getEffectivePipeName()
static void
main(java.lang.String[] argv)
void
registerEventListener(EventListener listener, int timeout)
void
removeEventListener(EventListener listener)
-
Constructor Details
-
NamedPipePortHandler
public NamedPipePortHandler(java.lang.String pipeName)
-
-
Method Details
-
getEffectivePipeName
public java.lang.String getEffectivePipeName()- Specified by:
getEffectivePipeName
in interfacePortDiscoveryHandler
-
registerEventListener
- Specified by:
registerEventListener
in interfacePortDiscoveryHandler
-
removeEventListener
- Specified by:
removeEventListener
in interfacePortDiscoveryHandler
-
main
public static void main(java.lang.String[] argv) throws java.lang.Exception- Throws:
java.lang.Exception
-