|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.cinnamon.io.netconnection.NetConnectionMessageHolder
public class NetConnectionMessageHolder
Represents a single AMF0 message sent from a Flash NetConnection instance.
| Constructor Summary | |
|---|---|
NetConnectionMessageHolder()
Creates a new instance. |
|
NetConnectionMessageHolder(String clientId,
Object body)
Creates a new instance. |
|
| Method Summary | |
|---|---|
String |
getClientId()
Returns the client id for this message. |
Object |
getMessage()
Returns the body of the message representing the actual request or response. |
void |
readObject(AMFInput input,
boolean request)
Restores the content of this message from the specified input. |
void |
writeObject(AMFOutput output,
boolean request)
Writes the content of this message to the specified output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetConnectionMessageHolder()
public NetConnectionMessageHolder(String clientId,
Object body)
clientId - the client id for this message (used internally by the AMF protocol)body - the body of the message containing the request or response| Method Detail |
|---|
public String getClientId()
public Object getMessage()
getMessage in interface MessageHolder
public void readObject(AMFInput input,
boolean request)
input - the AMF3 data to read fromrequest - whether this message represents a request or a response
public void writeObject(AMFOutput output,
boolean request)
output - the output to write torequest - whether this message represents a request or a response
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||