| Modifier and Type | Class and Description |
|---|---|
protected static class |
Input.ClassReference
Holds informations about already deserialized classes.
|
protected static class |
Input.PendingObject
Dummy class that is stored as reference for objects currently being deserialized that reference themselves.
|
static class |
Input.RefStorage
Class used to collect AMF3 references.
|
buf, classAliases, currentDataType, log| Constructor and Description |
|---|
Input(org.apache.mina.core.buffer.IoBuffer buf)
Creates Input object for AMF3 from byte buffer
|
Input(org.apache.mina.core.buffer.IoBuffer buf,
Input.RefStorage refStorage)
Creates Input object for AMF3 from byte buffer and initializes references from passed RefStorage
|
| Modifier and Type | Method and Description |
|---|---|
void |
enforceAMF3()
Force using AMF3 everywhere
|
protected org.apache.mina.core.buffer.IoBuffer |
getBuffer()
Provide access to raw data.
|
Input.RefStorage |
getRefStorage() |
String |
getString()
Reads string from buffer
|
Object |
readArray(Type target)
Returns an array
|
Boolean |
readBoolean()
Reads a boolean
|
ByteArray |
readByteArray()
Read ByteArray object.
|
Object |
readCustom()
Reads Custom
|
byte |
readDataType()
Reads the data type
|
Date |
readDate()
Returns a date
|
Object |
readMap()
Read a map containing key - value pairs.
|
Object |
readNull()
Reads a null (value)
|
Number |
readNumber()
Reads a Number
|
Object |
readObject()
Reads start object
|
Object |
readReference()
Reads Reference
|
String |
readString()
Reads a string
|
String |
readString(int length)
Reads a string of a set length.
|
Vector<Integer> |
readVectorInt()
Read Vector<Integer> object.
|
Vector<Double> |
readVectorNumber()
Read Vector<Number> object.
|
Vector<Object> |
readVectorObject()
Read Vector<Object> object.
|
Vector<Long> |
readVectorUInt()
Read Vector<uint> object.
|
Document |
readXML()
Reads XML
|
void |
reset()
Resets internals.
|
getPropertyType, hasMoreProperties, newInstance, readBean, readKeyValues, readKeyValues, readPropertyName, readSimpleObject, skipPropertySeparatorclassAllowed, clearReferences, getReference, storeReference, storeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearReferences, readKeyValuespublic Input(org.apache.mina.core.buffer.IoBuffer buf)
buf - Byte bufferpublic Input(org.apache.mina.core.buffer.IoBuffer buf,
Input.RefStorage refStorage)
buf - bufferrefStorage - ref storagepublic void enforceAMF3()
protected org.apache.mina.core.buffer.IoBuffer getBuffer()
public byte readDataType()
readDataType in interface InputreadDataType in class InputAMFpublic Object readNull()
public Boolean readBoolean()
readBoolean in interface InputreadBoolean in class Inputpublic Number readNumber()
readNumber in interface InputreadNumber in class Inputpublic String readString()
readString in interface InputreadString in class Inputpublic String readString(int length)
length - the length of the stringpublic Input.RefStorage getRefStorage()
public Date readDate()
public Object readMap()
Inputpublic Object readObject()
InputreadObject in interface InputreadObject in class Inputpublic ByteArray readByteArray()
readByteArray in interface InputreadByteArray in class Inputpublic Vector<Integer> readVectorInt()
readVectorInt in interface InputreadVectorInt in class Inputpublic Vector<Long> readVectorUInt()
readVectorUInt in interface InputreadVectorUInt in class Inputpublic Vector<Double> readVectorNumber()
readVectorNumber in interface InputreadVectorNumber in class Inputpublic Vector<Object> readVectorObject()
readVectorObject in interface InputreadVectorObject in class Inputpublic Object readCustom()
readCustom in interface InputreadCustom in class Inputpublic Object readReference()
readReference in interface InputreadReference in class Inputpublic Document readXML()
Copyright © 2005–2017 Red5. All rights reserved.