Class: AMF::Values::CommandMessage
- Inherits:
-
AsyncMessage
- Object
- AbstractMessage
- AsyncMessage
- AMF::Values::CommandMessage
- Defined in:
- lib/amf/values/messages.rb
Overview
Maps to flex.messaging.messages.CommandMessage
Constant Summary collapse
- SUBSCRIBE_OPERATION =
0
- UNSUSBSCRIBE_OPERATION =
1
- POLL_OPERATION =
2
- CLIENT_SYNC_OPERATION =
4
- CLIENT_PING_OPERATION =
5
- CLUSTER_REQUEST_OPERATION =
7
- LOGIN_OPERATION =
8
- LOGOUT_OPERATION =
9
- SESSION_INVALIDATE_OPERATION =
10
- MULTI_SUBSCRIBE_OPERATION =
11
- DISCONNECT_OPERATION =
12
- UNKNOWN_OPERATION =
10000
Instance Attribute Summary collapse
-
#operation ⇒ Object
Returns the value of attribute operation.
Attributes inherited from AsyncMessage
Attributes inherited from AbstractMessage
#body, #clientId, #destination, #headers, #messageId, #timeToLive, #timestamp
Instance Method Summary collapse
-
#initialize ⇒ CommandMessage
constructor
A new instance of CommandMessage.
Constructor Details
#initialize ⇒ CommandMessage
Returns a new instance of CommandMessage.
68 69 70 |
# File 'lib/amf/values/messages.rb', line 68 def initialize @operation = UNKNOWN_OPERATION end |
Instance Attribute Details
#operation ⇒ Object
Returns the value of attribute operation.
66 67 68 |
# File 'lib/amf/values/messages.rb', line 66 def operation @operation end |