| Home | Trees | Indices | Help |
|
|---|
|
|
AMF Remoting support.
A Remoting request from the client consists of a short preamble, headers, and bodies. The preamble contains basic information about the nature of the request. Headers can be used to request debugging information, send authentication info, tag transactions, etc. Bodies contain actual Remoting requests and responses. A single Remoting envelope can contain several requests; Remoting supports batching out of the box.
Client headers and bodies need not be responded to in a one-to-one manner. That is, a body or header may not require a response. Debug information is requested by a header but sent back as a body object. The response index is essential for the Adobe Flash Player to understand the response therefore.
Since: 0.1
|
|||
| |||
|
|||
|
RemotingError Generic remoting error class. |
|||
|
RemotingCallFailed Raised if Server.Call.Failed received. |
|||
|
HeaderCollection Collection of AMF message headers. |
|||
|
Envelope I wrap an entire request, encapsulating headers and bodies. |
|||
|
Message I represent a singular request/response, containing a collection of headers and one body of data. |
|||
|
Request An AMF Request payload. |
|||
|
Response An AMF Response. |
|||
|
BaseFault I represent a fault message ( mx.rpc.Fault).
|
|||
|
ErrorFault I represent an error level fault. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| BufferedByteStream |
|
||
|
|||
|
|||
STATUS_OK = 0
|
|||
STATUS_ERROR = 1
|
|||
STATUS_DEBUG = 2
|
|||
STATUS_CODES =
|
|||
CONTENT_TYPE =
|
|||
ERROR_CODES =
|
|||
APPEND_TO_GATEWAY_URL =
|
|||
REPLACE_GATEWAY_URL =
|
|||
REQUEST_PERSISTENT_HEADER =
|
|||
ERROR_CALL_FAILED = 0
|
|||
__package__ =
|
|||
|
|||
Read AMF Message header from the stream.
Note: Quite what understanding required headers actually means is unknown. |
Write AMF message header.
|
Read an AMF message body from the stream.
|
Write AMF message body.
|
Get status code. See Also: STATUS_CODES |
Decodes the incoming stream as a remoting message.
|
Encodes and returns the msg as an AMF stream.
|
|
|||
STATUS_CODES
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Jul 18 11:43:56 2011 | http://epydoc.sourceforge.net |