CSP for Java
(JCSP) 1.1-rc4

org.jcsp.lang
Interface SharedConnectionClient

All Superinterfaces:
ConnectionClient
All Known Subinterfaces:
NetSharedConnectionClient
All Known Implementing Classes:
NetSharedAltingConnectionClient, 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 duplicate() method.

See ConnectionClient for a fuller explanation of how to use connection client objects.

Author:
Quickstone Technologies Limited

Method Summary
 SharedConnectionClient duplicate()
          Returns a duplicates SharedConnectionClient 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 duplicates SharedConnectionClient object which may be used by another process to this instance.

Returns:
a duplicate SharedConnectionClient object.

CSP for Java
(JCSP) 1.1-rc4

Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.