public class NetSharedAltingConnectionClient extends SharedAltingConnectionClient
Defines a class whose instances should be
SharedAltingConnectionClient
that connect to a ConnectionServer
over a JCSP.NET
network.
Individual instances may not be used by multiple processes but
duplicate clients can be obtained by invoking
duplicate()
. These duplicates work over the
same connection and each one may be used by a different process.
Constructor and description |
---|
protected NetSharedAltingConnectionClient
(Any2OneChannel synchChan, NetAltingChannelInput fromServer, NetChannelOutput openToServer, NetChannelOutput reqToServer, NetChannelOutput backToClient) |
Type | Name and description |
---|---|
void |
destroyClient() |
SharedConnectionClient |
duplicate() |
NetChannelLocation |
getChannelLocation() Returns the address location of the connection server. |
Constructor for NetSharedAltingConnectionClient.
Destroys this networked client object.
This frees any resources used within the JCSP.NET infrastructure.
Produces a duplicate
NetSharedAltingConnectionClient
object which
may be used by another process.
SharedConnectionClient
object.Returns the address location of the connection server.
NetChannelLocation
object.JCSP for Java 1.8 generated 14-10-2016 by Jon Kerridge, Edinburgh Napier University - j dot kerridge at napier dot ac dot uk