Class KernelAddress
java.lang.Object
madkit.kernel.KernelAddress
- All Implemented Interfaces:
Serializable
This class represents a unique identifier for MaDKit kernel. Uniqueness is guaranteed
even when different kernels run on the same JVM or over the network.
- Since:
- MaDKit 1.0
- See Also:
-
Method Summary
-
Method Details
-
equals
Tells if another kernel address is the same. Iftrue
, this means that both addresses refer to the same kernel, i.e. same MaDKit instance.- Overrides:
equals
in classObject
- Throws:
ClassCastException
- On purpose, if the address is compared to an object with another type which is considered as a programming error.NullPointerException
- On purpose, if the address is compared tonull
which is considered as a programming error.
-
hashCode
-
getNetworkID
-
toString
-