|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.rmi.server.transport.MarshalledObject
public class MarshalledObject
An instance of this class keeps an object in byte form.
| Constructor Summary | |
|---|---|
MarshalledObject()
Do not use. |
|
MarshalledObject(Object o,
VmId id,
String transportType,
String codebase)
Constructor for MarshalledObject. |
|
| Method Summary | |
|---|---|
Object |
get(ClassLoader loader)
Returns the object that this instance wraps. |
void |
readExternal(ObjectInput in)
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MarshalledObject()
public MarshalledObject(Object o,
VmId id,
String transportType,
String codebase)
throws IOException
IOException| Method Detail |
|---|
public Object get(ClassLoader loader)
throws IOException,
ClassNotFoundException
loader - the ClassLoader to use for deserialization.
Object
IOException - if an error occurs while deserializing.
ClassNotFoundException - if the class of the object to deserialize
was not found.
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundExceptionExternalizable.readExternal(ObjectInput)
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionExternalizable.writeExternal(ObjectOutput)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||