Package org.jcsp.lang
Interface SharedConnectionClient
-
- All Superinterfaces:
ConnectionClient
- All Known Implementing Classes:
SharedAltingConnectionClient
public interface SharedConnectionClient extends ConnectionClient
Defines an interface for a client end of a connection that can be shared by multiple clients.
This object cannot itself be shared between concurrent processes but duplicate objects can be generated that can be used by multiple concurrent processes. This can be achieved using the
method.duplicate()
See
for a fuller explanation of how to use connection client objects.ConnectionClient
- Author:
- Quickstone Technologies Limited
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SharedConnectionClient
duplicate()
Returns a duplicatesSharedConnectionClient
object which may be used by another process to this instance.-
Methods inherited from interface org.jcsp.lang.ConnectionClient
isOpen, reply, request
-
-
-
-
Method Detail
-
duplicate
SharedConnectionClient duplicate()
Returns a duplicatesSharedConnectionClient
object which may be used by another process to this instance.- Returns:
- a duplicate
SharedConnectionClient
object.
-
-