RemoteRef (Java SE 26 & JDK 26)
- All Superinterfaces:
Externalizable, Serializable
- All Known Subinterfaces:
ServerRef
-
Field Summary
Fields
Initialize the server package prefix: assumes that the implementation of server ref classes (e.g., UnicastRef, UnicastServerRef) are located in the package defined by the prefix.
static final long -
Method Summary
voidReturns the class name of the ref type to be serialized onto the stream 'out'.
voidbooleanCompares two remote objects for equality.
intReturns a hashcode for a remote object.
Returns a String that represents the reference of this remote object.
Methods declared in interface Externalizable
voidThe object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
voidThe object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
-
Field Details
-
serialVersionUID
-
packagePrefix
-
-
Method Details
-
invoke
-
newCall
-
invoke
-
done
-
getRefClass
-
remoteHashCode
-
remoteEquals
-
remoteToString
-