Class InboundHL7IOReactor
java.lang.Object
org.wso2.carbon.inbound.endpoint.protocol.hl7.core.InboundHL7IOReactor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbind(int port, HL7Processor processor) protected static voidIn certain cases, reactor is not started prior to a bind() (e.g.static booleanisEndpointRunning(int port) static booleanstatic voidpause()static voidstart()static voidstop()static booleanunbind(int port)
-
Constructor Details
-
InboundHL7IOReactor
public InboundHL7IOReactor()
-
-
Method Details
-
start
- Throws:
IOException
-
stop
public static void stop() -
pause
public static void pause() -
isStarted
public static boolean isStarted() -
bind
-
unbind
public static boolean unbind(int port) -
checkReactor
protected static void checkReactor()In certain cases, reactor is not started prior to a bind() (e.g. if HL7EndpointManager triggers a bind() i.e. via tenant loader and at that time no InboundListeners were initialized). If the reactor is not started, this method will start it. -
isEndpointRunning
public static boolean isEndpointRunning(int port)
-