Package org.jcsp.net
Class NetConnectionLocation
- java.lang.Object
-
- org.jcsp.net.NetChannelLocation
-
- org.jcsp.net.NetConnectionLocation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
class NetConnectionLocation extends NetChannelLocation
Instances of this class take twoNetConnectionLocation
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'sNetChannelLocation
object while the further request channel's can be obtained by callinggetRequestChannelLocation()
.
-
-
Field Summary
Fields Modifier and Type Field Description private NetChannelLocation
reqLoc
-
Constructor Summary
Constructors Constructor Description NetConnectionLocation(NetChannelLocation open, NetChannelLocation req)
Constructor for NetConnectionLocation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetChannelLocation
getRequestChannelLocation()
-
Methods inherited from class org.jcsp.net.NetChannelLocation
checkEqual, clone, equals, getChannelAddress, getChannelLabel, getChannelNodeID, getStringID, getVCN, hashCode, refresh, refreshFrom, setLocationDetails
-
-
-
-
Field Detail
-
reqLoc
private NetChannelLocation reqLoc
-
-
Constructor Detail
-
NetConnectionLocation
public NetConnectionLocation(NetChannelLocation open, NetChannelLocation req) throws java.lang.IllegalArgumentException
Constructor for NetConnectionLocation.- Parameters:
other
-- Throws:
java.lang.IllegalArgumentException
-
-
Method Detail
-
getRequestChannelLocation
public NetChannelLocation getRequestChannelLocation()
-
-