Package org.jcsp.net

Class NetAltingConnectionClient

All Implemented Interfaces:
ConnectionClient, NetConnectionClient, Networked

public class NetAltingConnectionClient extends AltingConnectionClientImpl implements NetConnectionClient

Instances of this class are AltingConnectionClient objects which connect to ConnectionServer objects over a JCSP.NET network.

Instances of this class are not guaranteed to be safe to use by muliple concurrent processes. See NetSharedAltingConnectionClient.

Instances can be constructed by using a NetConnectionFactory or by using the NetConnection class.

Author:
Quickstone Technologies Limited
  • Method Details

    • getChannelLocation

      public NetChannelLocation getChannelLocation()
      Returns the location of the server.
      Specified by:
      getChannelLocation in interface Networked
      Returns:
      the server's NetChannelLocation object.
    • destroyClient

      public void destroyClient()
      Destroys the client and frees any resources used in the JCSP.NET infrastructure.
      Specified by:
      destroyClient in interface NetConnectionClient