Package pyamf :: Package flex :: Module messaging :: Class CommandMessage
[hide private]
[frames] | no frames]

Class CommandMessage

source code


Provides a mechanism for sending commands related to publish/subscribe messaging, ping, and cluster operations.


See Also: CommandMessage on Livedocs

Nested Classes [hide private]
  __amf__
Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__readamf__(self, input) source code
 
__writeamf__(self, output) source code
 
getSmallMessage(self)
Return a ISmallMessage representation of this command message.
source code

Inherited from AbstractMessage: __repr__, decodeSmallAttribute, encodeSmallAttribute

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from AbstractMessage: __new__

Class Variables [hide private]
  AUTHENTICATION_MESSAGE_REF_TYPE = 'flex.messaging.messages.Aut...
  PING_OPERATION = 5
  SYNC_OPERATION = 4
  CLUSTER_REQUEST_OPERATION = 7
  LOGIN_OPERATION = 8
  LOGOUT_OPERATION = 9
  POLL_OPERATION = 2
  SELECTOR_HEADER = 'DSSelector'
  SESSION_INVALIDATE_OPERATION = 10
  SUBSCRIBE_OPERATION = 0
  UNKNOWN_OPERATION = 1000
  UNSUBSCRIBE_OPERATION = 1
  DISCONNECT_OPERATION = 12

Inherited from AsyncMessage: SUBTOPIC_HEADER

Inherited from 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]
str messageRefType
hmm, not sure about this one.
int operation
The command

Inherited from AsyncMessage: correlationId

Inherited from AbstractMessage: body, clientId, destination, headers, messageId, timeToLive, timestamp

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__readamf__(self, input)

source code 
Overrides: AbstractMessage.__readamf__

__writeamf__(self, output)

source code 
Overrides: AbstractMessage.__writeamf__

getSmallMessage(self)

source code 

Return a ISmallMessage representation of this command message.

Overrides: AbstractMessage.getSmallMessage

Since: 0.5


Class Variable Details [hide private]

AUTHENTICATION_MESSAGE_REF_TYPE

Value:
'flex.messaging.messages.AuthenticationMessage'