|
ClientTypes
Typecodes used to identify AMF clients and servers.
|
|
BaseError
Base AMF Error.
|
|
DecodeError
Raised if there is an error in decoding an AMF data stream.
|
|
EOStream
Raised if the data stream has come to a natural end.
|
|
ReferenceError
Raised if an AMF data stream refers to a non-existent object or
string reference.
|
|
EncodeError
Raised if the element could not be encoded to the stream.
|
|
UnknownClassAlias
Raised if the AMF stream specifies a class that does not have an
alias.
|
|
BaseContext
I hold the AMF context for en/decoding streams.
|
|
ASObject
This class represents a Flash Actionscript Object (typed or
untyped).
|
|
MixedArray
Used to be able to specify the mixedarray type.
|
|
ClassMetaData
I hold a list of tags relating to the class.
|
|
ClassAlias
Class alias.
|
|
BaseDecoder
Base AMF decoder.
|
|
CustomTypeFunc
Custom type mappings.
|
|
BaseEncoder
Base AMF encoder.
|
|
register_class(klass,
alias=None,
attrs=None,
attr_func=None,
metadata=[ ] )
Registers a class to be used in the data streaming. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
ClassAlias
|
|
bool
|
|
|
decode(stream,
encoding=0,
context=None)
A generator function to decode a datastream. |
source code
|
|
StringIO
|
|
|
get_decoder(encoding,
data=None,
context=None) |
source code
|
|
amf0.Decoder
or amf3.Decoder
|
|
|
get_encoder(encoding,
data=None,
context=None) |
source code
|
|
amf0.Encoder
or amf3.Encoder
|
|
|
|
amf0.Context
or amf3.Context
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__version__ = ( 0, 3, 1)
PyAMF version number.
|
|
CLASS_CACHE = { ' RecordSet ' : <ClassAlias alias=RecordSet klass=...
Class mapping support.
|
|
CLASS_LOADERS = []
Class loaders.
|
|
TYPE_MAP = { }
Custom type map.
|
|
ERROR_CLASS_MAP = { ' Server.Call.Failed ' : <class 'pyamf.remotin...
Maps error classes to string codes.
|
|
AMF0 = 0
Specifies that objects are serialized using AMF for ActionScript 1.0
and 2.0.
|
|
AMF3 = 3
Specifies that objects are serialized using AMF for ActionScript 3.0.
|
|
ENCODING_TYPES = ( 0, 3)
Supported AMF encoding types.
|
|
CLIENT_TYPES = [ 1, 0, 3]
List of AMF client typecodes.
|
|
Undefined = object()
Represents the undefined value in a Flash client.
|