Interface SimplexTransport<TREQUEST,TRESPONSE>

All Superinterfaces:
com.ibm.asyncutil.util.AsyncCloseable
All Known Implementing Classes:
JavaNetOcientWireV1Transport, MockOcientCluster.Transport, NettyOcientWireV1Transport

public interface SimplexTransport<TREQUEST,TRESPONSE> extends com.ibm.asyncutil.util.AsyncCloseable
Represents a simplex, uni-directional transport mechanism.

An invariant: requests are ONLY sent from the client. Unsolicited requests from the server are not permitted.

+--------+ +--------+ | | Request 1 | | | Client |------------------------>| Server | | |invalid input: '<'------------------------| | +--------+ +----+---+

+--------+ +--------+ | | Request 2 | | | Client |------------------------>| Server | | |invalid input: '<'------------------------| | +--------+ +----+---+ ...