Class TCPIPLink.CreateTxStream

java.lang.Object
org.jcsp.net.tcpip.TCPIPLink.CreateTxStream
All Implemented Interfaces:
CSProcess
Enclosing class:
TCPIPLink

private class TCPIPLink.CreateTxStream extends Object implements CSProcess
The process which creates txStream. It creates an object stream associated with the socket, and sends the Java object stream header and the PROTOCOL_IDENTIFIER. On success, it sets txStream in the outer class to a non-null value. If there is an exception, it closes the socket and returns without modifying txStream.
See Also:
  • Constructor Details

    • CreateTxStream

      private CreateTxStream()
  • Method Details

    • run

      public void run()
      The run method.
      Specified by:
      run in interface CSProcess