Note
There is a JDK-internal dependency on the existence of this class and its getLiveRef method (inherited from UnicastRef) in the implementation of javax.management.remote.rmi.RMIConnector.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getRefClass(ObjectOutput out)
Overrides sun. Implements java. Returns the class of the ref type to be serialized |
| public void | readExternal(ObjectInput in)
Overrides sun. Implements java. Read in external representation for remote ref. |
| public void | writeExternal(ObjectOutput out)
Overrides sun. Implements java. Write out external representation for remote ref. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides sun. | |
| UnicastRef2 | back to summary |
|---|---|
| public UnicastRef2() Create a new (empty) Unicast remote reference. | |
| UnicastRef2 | back to summary |
|---|---|
| public UnicastRef2(LiveRef liveRef) Create a new Unicast RemoteRef. | |
| getRefClass | back to summary |
|---|---|
| public String getRefClass(ObjectOutput out) Overrides sun. Implements java. Returns the class of the ref type to be serialized | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Overrides sun. Implements java. Read in external representation for remote ref.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Overrides sun. Implements java. Write out external representation for remote ref.
| |