Package org.jcsp.lang
Interface One2OneConnection<T>
-
- All Known Implementing Classes:
One2OneConnectionImpl
public interface One2OneConnection<T>
Defines an interface for a connection that can be used by a single server and single client.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AltingConnectionClient<T>
client()
Returns the client end of the connection.AltingConnectionServer<T>
server()
Returns the server end of the connection.
-
-
-
Method Detail
-
client
AltingConnectionClient<T> client()
Returns the client end of the connection.
-
server
AltingConnectionServer<T> server()
Returns the server end of the connection.
-
-