|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.granite.messaging.amf.AMF0Body
public class AMF0Body
AMF Body
AMF0Header,
AMF0Message,
Serialized Form| Field Summary | |
|---|---|
static byte |
DATA_TYPE_AMF3_OBJECT
AMF3 data |
static byte |
DATA_TYPE_ARRAY
Array Object type |
static byte |
DATA_TYPE_AS_OBJECT
General Object type |
static byte |
DATA_TYPE_BOOLEAN
Boolean object type |
static byte |
DATA_TYPE_CUSTOM_CLASS
Custom class object type |
static byte |
DATA_TYPE_DATE
Date object type |
static byte |
DATA_TYPE_LONG_STRING
Long String object type |
static byte |
DATA_TYPE_MIXED_ARRAY
Mixed Array Object type |
static byte |
DATA_TYPE_MOVIE_CLIP
Movie clip object type |
static byte |
DATA_TYPE_NULL
NULL object type |
static byte |
DATA_TYPE_NUMBER
Number object type |
static byte |
DATA_TYPE_OBJECT
Object object type |
static byte |
DATA_TYPE_OBJECT_END
Object end type |
static byte |
DATA_TYPE_RECORDSET
RecordSet object type |
static byte |
DATA_TYPE_REFERENCE_OBJECT
Reference object type |
static byte |
DATA_TYPE_STRING
String object type |
static byte |
DATA_TYPE_UNDEFINED
Undefined object type |
static byte |
DATA_TYPE_UNKNOWN
Unknow object type |
static byte |
DATA_TYPE_XML
XML Document object type |
protected String |
response
|
protected String |
serviceMethodName
|
protected String |
serviceName
|
protected String |
target
|
protected byte |
type
|
protected Object |
value
|
| Constructor Summary | |
|---|---|
AMF0Body(String target,
String response,
Object value)
AMF body with unknown type |
|
AMF0Body(String target,
String response,
Object value,
byte type)
AMF Body constructor |
|
| Method Summary | |
|---|---|
int |
getBodyIndex()
|
static String |
getObjectTypeDescription(byte type)
Returns String description of object type |
String |
getResponse()
|
String |
getServiceMethodName()
|
String |
getServiceName()
|
String |
getTarget()
|
byte |
getType()
Returns object type |
Object |
getValue()
|
boolean |
isFirstBody()
|
void |
setResponse(String response)
|
void |
setTarget(String target)
|
void |
setType(byte type)
Sets object type |
void |
setValue(Object value)
|
String |
toString()
|
String |
toString(String indent)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String target
protected String serviceName
protected String serviceMethodName
protected String response
protected Object value
protected byte type
public static final byte DATA_TYPE_UNKNOWN
public static final byte DATA_TYPE_NUMBER
public static final byte DATA_TYPE_BOOLEAN
public static final byte DATA_TYPE_STRING
public static final byte DATA_TYPE_OBJECT
public static final byte DATA_TYPE_MOVIE_CLIP
public static final byte DATA_TYPE_NULL
public static final byte DATA_TYPE_UNDEFINED
public static final byte DATA_TYPE_REFERENCE_OBJECT
public static final byte DATA_TYPE_MIXED_ARRAY
public static final byte DATA_TYPE_OBJECT_END
public static final byte DATA_TYPE_ARRAY
public static final byte DATA_TYPE_DATE
public static final byte DATA_TYPE_LONG_STRING
public static final byte DATA_TYPE_AS_OBJECT
public static final byte DATA_TYPE_RECORDSET
public static final byte DATA_TYPE_XML
public static final byte DATA_TYPE_CUSTOM_CLASS
public static final byte DATA_TYPE_AMF3_OBJECT
| Constructor Detail |
|---|
public AMF0Body(String target,
String response,
Object value)
target - response - value -
public AMF0Body(String target,
String response,
Object value,
byte type)
target - response - value - type - | Method Detail |
|---|
public String getTarget()
public void setTarget(String target)
public String getServiceName()
public String getServiceMethodName()
public String getResponse()
public void setResponse(String response)
public boolean isFirstBody()
public int getBodyIndex()
public Object getValue()
public void setValue(Object value)
public byte getType()
public void setType(byte type)
type - public static String getObjectTypeDescription(byte type)
type - object type
public String toString()
toString in class Objectpublic String toString(String indent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||