Package org.jcsp.net.tcpip
Class TCPIPLink.CreateRxStream
- java.lang.Object
-
- org.jcsp.net.tcpip.TCPIPLink.CreateRxStream
-
- All Implemented Interfaces:
CSProcess
- Enclosing class:
- TCPIPLink
private class TCPIPLink.CreateRxStream extends java.lang.Object implements CSProcess
The process which creates rxStream. It creates an object stream associated with the socket, and listens for the Java object stream header and the PROTOCOL_IDENTIFIER. On success, it sets rxStream in the outer class to a non-null value. If there is an exception, or if the object recieved is not PROTOCOL_IDENTIFIER, it closes the socket and returns without modifying rxStream.- See Also:
TCPIPLink.rxStream
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CreateRxStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
The run method.
-