Package org.jcsp.net

Class NetConnectionLocation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    class NetConnectionLocation
    extends NetChannelLocation
    Instances of this class take two NetConnectionLocation objects. One for a connection's server channel and one for a connection's further request channel. Instances of this class can be used as the open channel's NetChannelLocation object while the further request channel's can be obtained by calling getRequestChannelLocation().
    • Constructor Detail

      • NetConnectionLocation

        public NetConnectionLocation​(NetChannelLocation open,
                                     NetChannelLocation req)
                              throws java.lang.IllegalArgumentException
        Constructor for NetConnectionLocation.
        Parameters:
        other -
        Throws:
        java.lang.IllegalArgumentException