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 Details
-
client
SharedAltingConnectionClient<T> client()Returns a reference to the client end of the connection for use by the client processes.- Specified by:
client
in interfaceConnectionWithSharedAltingClient<T>
-
server
SharedConnectionServer<T> server()Returns a reference to the server end of the connection for use by the server processes.- Specified by:
server
in interfaceConnectionWithSharedAltingServer<T>
-