java.lang.isolate
Class IsolateMessage_Serializable
java.lang.Object
|
+--java.lang.isolate.IsolateMessage
|
+--java.lang.isolate.IsolateMessage_DataMessage
|
+--java.lang.isolate.IsolateMessage_Serializable
- class IsolateMessage_Serializable
- extends IsolateMessage_DataMessage
Field Summary |
private java.lang.Object |
lock
|
private java.lang.Object |
objCache
|
private byte[] |
serForm
|
Methods inherited from class java.lang.isolate.IsolateMessage |
getByteArray, getComposite, getDatagramSocket, getFileInputStream, getFileOutputStream, getIsolate, getIsolateEvent, getLink, getServerSocket, getSocket, getString, newByteArrayMessage, newCompositeMessage, newDatagramSocketMessage, newFileInputStreamMessage, newFileOutputStreamMessage, newIsolateEventMessage, newIsolateMessage, newLinkMessage, newSerializableMessage, newServerSocketMessage, newSocketMessage, newStringMessage, typeName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0 |
lock
private final java.lang.Object lock
serForm
private byte[] serForm
objCache
private java.lang.Object objCache
IsolateMessage_Serializable
IsolateMessage_Serializable(java.lang.Object o)
IsolateMessage_Serializable
IsolateMessage_Serializable(byte[] b)
- Used for creating a IsolateMessage_Serializable from a byte-array containing a serialized object.
encodeObject
void encodeObject()
throws LinkSerializationException
encodeObject
private static byte[] encodeObject(java.lang.Object o)
throws LinkSerializationException
decodeObject
static java.lang.Object decodeObject(byte[] b)
throws LinkSerializationException
decodeObject
private java.lang.Object decodeObject()
throws LinkSerializationException
- Returns the decode version of the object this serializable
contains. Returns cached pointer if one is available.
acceptVisitor
public void acceptVisitor(IsolateMessageVisitor lmv)
throws LinkSerializationException
- Overrides:
acceptVisitor
in class IsolateMessage
getSerializable
public java.lang.Object getSerializable()
throws LinkSerializationException
- Overrides:
getSerializable
in class IsolateMessage
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
pretranslate
void pretranslate()
throws LinkSerializationException
- Description copied from class:
IsolateMessage
- Set up a message for translation. (Only used by serializables to
make sure they're serialized before sending). Used by composite, too.
- Overrides:
pretranslate
in class IsolateMessage
translate
IsolateMessage translate(TeamHandle sourceTeam,
TeamHandle currentTeam)
throws ClosedLinkException
- INTERNAL translation of IsolateMessage
- Overrides:
translate
in class IsolateMessage
toString
public java.lang.String toString()
- Overrides:
toString
in class IsolateMessage
This documentation is Copyright (C) 2000-2003 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Feb 13, 2003