Package org.jcsp.lang
Interface Any2AnyConnection<T>
-
- All Superinterfaces:
ConnectionWithSharedAltingClient<T>,ConnectionWithSharedAltingServer<T>
- All Known Implementing Classes:
Any2AnyConnectionImpl
public interface Any2AnyConnection<T> extends ConnectionWithSharedAltingClient<T>, ConnectionWithSharedAltingServer<T>
Defines an interface for a connection shared by multiple clients and multiple servers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SharedAltingConnectionClient<T>client()Returns a reference to the client end of the connection for use by the client processes.SharedConnectionServer<T>server()Returns a reference to the server end of the connection for use by the server processes.
-
-
-
Method Detail
-
client
SharedAltingConnectionClient<T> client()
Returns a reference to the client end of the connection for use by the client processes.- Specified by:
clientin interfaceConnectionWithSharedAltingClient<T>
-
server
SharedConnectionServer<T> server()
Returns a reference to the server end of the connection for use by the server processes.- Specified by:
serverin interfaceConnectionWithSharedAltingServer<T>
-
-