21 package org.opensplice.dds.core;
27 private static final long serialVersionUID = 8433681503549822293L;
29 private final long value;
32 this.environment = environment;
46 }
catch(ClassCastException cce){
48 "Cannot compare OpenSplice InstanceHandle to non-OpenSplice InstanceHandle");
50 if (this.value == other.
getValue()) {
62 return this.environment;
67 return (this.value == DDS.HANDLE_NIL.value);
77 return (((InstanceHandleImpl)other).value == this.value);
84 return "InstanceHandle (" + this.value +
")";
89 return 31 * 17 + (int) (this.value ^ (this.value >>> 32));
InstanceHandleImpl(OsplServiceEnvironment environment, long value)
ServiceEnvironment getEnvironment()
An opaque handle that can be used to refer to a local or remote entity.
boolean equals(Object other)
int compareTo(InstanceHandle o)
DDS implementations are rooted in this class, a concrete subclass of which can be instantiated based ...