|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.ObjectInputStream
aa.tool.MessageObjectInputStream
This class defines a new object input stream for communication messages.
History:
Nested Class Summary |
Nested classes inherited from class java.io.ObjectInputStream |
java.io.ObjectInputStream.GetField |
Field Summary | |
MessageClassLoader |
m_mslActorLoader
Reference to new class loaderto handle the class of the actor |
Fields inherited from class java.io.ObjectInputStream |
|
Fields inherited from class java.io.InputStream |
|
Fields inherited from interface java.io.ObjectStreamConstants |
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING |
Constructor Summary | |
MessageObjectInputStream(java.io.InputStream p_is,
java.lang.String p_strClassName,
byte[] p_baClass)
Creates an MessageObjectInputStream that reads form the specified InputStream. |
Method Summary | |
java.lang.Class |
resolveClass(java.io.ObjectStreamClass p_osc)
Loads the local class equivalent of the specified stream class description. |
Methods inherited from class java.io.ObjectInputStream |
available, close, defaultReadObject, enableResolveObject, read, read, readBoolean, readByte, readChar, readClassDescriptor, readDouble, readFields, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readObjectOverride, readShort, readStreamHeader, readUnshared, readUnsignedByte, readUnsignedShort, readUTF, registerValidation, resolveObject, resolveProxyClass, skipBytes |
Methods inherited from class java.io.InputStream |
mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.io.ObjectInput |
read, skip |
Field Detail |
public MessageClassLoader m_mslActorLoader
Constructor Detail |
public MessageObjectInputStream(java.io.InputStream p_is, java.lang.String p_strClassName, byte[] p_baClass) throws java.io.IOException
p_is
- an input stream to read from.p_strClassName
- the class name.p_baClass
- an input byte stream of the class.
java.io.IOException
- if an input/output error occurs while readin stream header.Method Detail |
public java.lang.Class resolveClass(java.io.ObjectStreamClass p_osc) throws java.io.IOException, java.lang.ClassNotFoundException
p_osc
- an instance of class ObjectStreamClass.
java.io.IOException
- any of the usual iput/output exception.
java.lang.ClassNotFoundException
- if class of a serialized object cannot be found.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |