Package pyamf :: Package flex :: Module data :: Class DataMessage

[hide private]
[frames] | no frames]

# Class DataMessage

source code

I am used to transport an operation that occured on a managed object or collection.

This class of message is transmitted between clients subscribed to a remote destination as well as between server nodes within a cluster. The payload of this message describes all of the relevant details of the operation. This information is used to replicate updates and detect conflicts.

See Also: DataMessage on Livedocs (external)

Nested Classes | [hide private]

Inherited from `messaging.AsyncMessage`: `__amf__`

Instance Methods | [hide private]

__init__(self) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code

Inherited from `messaging.AsyncMessage`: `__readamf__`, `__writeamf__`, `getSmallMessage` Inherited from `messaging.AbstractMessage`: `__repr__`, `decodeSmallAttribute`, `encodeSmallAttribute` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__str__`

Class Variables | [hide private]

Inherited from `messaging.AsyncMessage`: `SUBTOPIC_HEADER` Inherited from `messaging.AbstractMessage`: `DESTINATION_CLIENT_ID_HEADER`, `ENDPOINT_HEADER`, `REMOTE_CREDENTIALS_HEADER`, `REQUEST_TIMEOUT_HEADER`, `SMALL_ATTRIBUTES`, `SMALL_ATTRIBUTE_FLAGS`, `SMALL_UUIDS`, `SMALL_UUID_FLAGS`

Instance Variables | [hide private]

| identity Provides access to the identity map which defines the unique identity of the item affected by this DataMessage (relevant for create/update/delete but not fill operations).
| operation Provides access to the operation/command of this DataMessage.
Inherited from `messaging.AsyncMessage`: `correlationId` Inherited from `messaging.AbstractMessage`: `body`, `clientId`, `destination`, `headers`, `messageId`, `timeToLive`, `timestamp`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self)
(Constructor)

source code

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
  (inherited documentation)

Instance Variable Details | [hide private]

### operation

Provides access to the operation/command of this DataMessage.

Operations indicate how the remote destination should process this message.