|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.cinnamon.io.netconnection.NetConnectionEnvelope
public class NetConnectionEnvelope
Represents an AMF0 envelope that contains one or more AMF3 requests or responses.
| Constructor Summary | |
|---|---|
NetConnectionEnvelope()
Creates a new envelope. |
|
NetConnectionEnvelope(int amfVersion)
Creates a new envelope. |
|
| Method Summary | |
|---|---|
void |
addMessage(MessageHolder message)
Adds a message to this envelope. |
List<MessageHolder> |
getMessages()
Returns all messages contained in this envelope. |
int |
getVersion()
Returns the AMF version. |
void |
readObject(AMFInput input,
boolean request)
Restores the content of this envelope from the specified input. |
String |
toString()
|
void |
writeObject(AMFOutput output,
boolean request)
Writes the content of this envelope to the specified output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NetConnectionEnvelope()
public NetConnectionEnvelope(int amfVersion)
amfVersion - the AMF version| Method Detail |
|---|
public void addMessage(MessageHolder message)
addMessage in interface Envelopemessage - the message to add to the envelopepublic List<MessageHolder> getMessages()
getMessages in interface Envelopepublic int getVersion()
public void readObject(AMFInput input,
boolean request)
input - the AMF3 data to read fromrequest - whether this envelope represents a request or a response
public void writeObject(AMFOutput output,
boolean request)
output - the output to write torequest - whether this envelope represents a request or a responsepublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||