Expand description
TCP Transport Module
The TCP Transport module consists of two main components: Client and Server. The Client is the downstream node that is responsible for connecting back to the upstream node (Server).
Both Client and Server are given a Stream object that they can specialize for their specific needs, i.e. if they are SingleIn/ManyIn or SingleOut/ManyOut.
The Request object will carry the Transport Type and Connection details, i.e. how the receiver of a Request is able to communicate back to the source of the Request.
There are two types of TcpStream:
- CallHome stream - the address for the listening socket is forward via some mechanism which then connects back to the source of the CallHome stream. To match the socket with an awaiting data stream, the CallHomeHandshake is used.