Package org.jcsp.net.cns
Class ChannelNameKey
java.lang.Object
org.jcsp.net.cns.ChannelNameKey
- All Implemented Interfaces:
Serializable
Instances of this hold a key for a particular channel.
ChannelNameKey
objects are issued by the channel
name server. They must be supplied to the channel name server
along with any channel management requests (channel deregistration,
relocation etc.).
This class has no public constructor.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
hashCode
private int hashCode -
val
private final long val -
key
private final long key
-
-
Constructor Details
-
ChannelNameKey
ChannelNameKey(long val)
-
-
Method Details
-
equals
Compares anotherObject
with thisChannelNameKey
. -
hashCode
public int hashCode()Returns anint
hash code for this object.
-