Class TcpServerConsumerValidationRunnable
java.lang.Object
org.apache.camel.component.mllp.internal.TcpServerConsumerValidationRunnable
- All Implemented Interfaces:
Runnable
Runnable to handle the ServerSocket.accept requests
-
Constructor Summary
ConstructorsConstructorDescriptionTcpServerConsumerValidationRunnable(MllpTcpServerConsumer consumer, Socket clientSocket, MllpSocketBuffer mllpBuffer) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcloseSocket(String logMessage) voidvoidresetSocket(String logMessage) voidrun()Do the initial read on the Socket and try to determine if it has HL7 data, junk, or nothing.
-
Constructor Details
-
TcpServerConsumerValidationRunnable
public TcpServerConsumerValidationRunnable(MllpTcpServerConsumer consumer, Socket clientSocket, MllpSocketBuffer mllpBuffer)
-
-
Method Details
-
run
public void run()Do the initial read on the Socket and try to determine if it has HL7 data, junk, or nothing. -
closeSocket
public void closeSocket() -
closeSocket
-
resetSocket
public void resetSocket() -
resetSocket
-
getLocalAddress
-
getRemoteAddress
-
getCombinedAddress
-