|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openamf.io.AMFDeserializer
AMF Deserializer
Field Summary | |
protected java.util.List |
bodies
Content of the bodies |
protected int |
bodyCount
Number of bodies |
protected int |
headerCount
Number of headers in the packet |
protected java.util.List |
headers
Content of the headers |
protected java.io.DataInputStream |
inputStream
The AMF input stream |
protected AMFMessage |
message
Object to store the deserialized data |
Constructor Summary | |
AMFDeserializer(java.io.DataInputStream inputStream)
Deserialize message |
Method Summary | |
AMFMessage |
getAMFMessage()
|
protected java.util.List |
readArray()
Reads array |
protected java.lang.Object |
readASObject()
Reads object |
protected void |
readBodies()
Read message body |
protected java.lang.Object |
readCustomClass()
Reads custom class |
protected java.lang.Object |
readData(byte type)
Reads object from inputstream with selected type |
protected java.util.Date |
readDate()
Reads date |
protected java.lang.Object |
readFlushedSO()
Reads flushed stored object |
protected void |
readHeaders()
Read message header |
protected ASObject |
readObject()
|
protected ASObject |
readObject(ASObject aso)
Reads an object and converts the binary data into an List |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.DataInputStream inputStream
protected int headerCount
protected java.util.List headers
protected int bodyCount
protected java.util.List bodies
protected AMFMessage message
Constructor Detail |
public AMFDeserializer(java.io.DataInputStream inputStream) throws java.io.IOException
inputStream
- message input stream
java.io.IOException
Method Detail |
public AMFMessage getAMFMessage()
protected void readHeaders() throws java.io.IOException
java.io.IOException
protected void readBodies() throws java.io.IOException
java.io.IOException
protected java.lang.Object readCustomClass() throws java.io.IOException
java.io.IOException
protected ASObject readObject() throws java.io.IOException
java.io.IOException
protected ASObject readObject(ASObject aso) throws java.io.IOException
aso
-
java.io.IOException
protected java.util.List readArray() throws java.io.IOException
java.io.IOException
protected java.util.Date readDate() throws java.io.IOException
java.io.IOException
protected java.lang.Object readFlushedSO() throws java.io.IOException
java.io.IOException
protected java.lang.Object readASObject()
protected java.lang.Object readData(byte type) throws java.io.IOException
type
-
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |