org.xlattice
Interface Transport


public interface Transport

Abstraction of the transport protocol used over a communications channel. XXX As it has been interpreted so far, this is unsatisfactory. For example, if there are several nodes on a host, each will have its own keystore. If the Transport is Tls, any Acceptor created through this interface would need to have access to that keystore. Therefore what's needed is an instance of a Transport provider/factory associated with the node, with a reference to the keystore either in the constructor or passed in a setter. Dichotomies are: blocking versus non-blocking, reliable vs unreliable.

Author:
Jim Dixon

Method Summary
 java.lang.String name()
           
 

Method Detail

name

java.lang.String name()
Returns:
a name for this transport protocol, useful in debugging