Class InboundHL7IOReactor
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.protocol.hl7.core.InboundHL7IOReactor
-
public class InboundHL7IOReactor extends Object
-
-
Constructor Summary
Constructors Constructor Description InboundHL7IOReactor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
bind(int port, HL7Processor processor)
protected static void
checkReactor()
In certain cases, reactor is not started prior to a bind() (e.g.static boolean
isEndpointRunning(int port)
static boolean
isStarted()
static void
pause()
static void
start()
static void
stop()
static boolean
unbind(int port)
-
-
-
Method Detail
-
start
public static void start() throws IOException
- Throws:
IOException
-
stop
public static void stop()
-
pause
public static void pause()
-
isStarted
public static boolean isStarted()
-
bind
public static boolean bind(int port, HL7Processor processor)
-
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)
-
-