Module: Shove::Protocol

Included in:
Client::Channel, Client::Connection
Defined in:
lib/shove/protocol.rb

Constant Summary collapse

ERROR =
0x00
CONNECT =

Connection

0x01
CONNECT_GRANTED =
0x02
CONNECT_DENIED =
0x03
DISCONNECT =
0x04
DISCONNECT_COMPLETE =
0x06
REDIRECT =
0x07
SET_IDENTITY =
0x08
SUBSCRIBE =

Subscribe Ops

0x10
SUBSCRIBE_GRANTED =
0x11
SUBSCRIBE_DENIED =
0x12
UNSUBSCRIBE =
0x13
UNSUBSCRIBE_COMPLETE =
0x14
PUBLISH =

Publish Ops

0x20
PUBLISH_DENIED =
0x21
PUBLISH_GRANTED =
0x22
GRANT_PUBLISH =

Authorize Ops

0x30
GRANT_SUBSCRIBE =
0x31
GRANT_CONNECT =
0x32
GRANT_CONTROL =
0x33
DENY_PUBLISH =

Deny Ops

0x40
DENY_SUBSCRIBE =
0x41
DENY_CONNECT =
0x42
DENY_CONTROL =
0x43
LOG =

Log Ops

0x50
LOG_STARTED =
0x51
LOG_DENIED =
0x52
AUTHORIZE =

Self authorize

0x60
AUTHORIZE_COMPLETE =
0x61
AUTHORIZE_DENIED =
0x62
PRESENCE_SUBSCRIBED =

Presence Ops

0x70
PRESENCE_UNSUBSCRIBED =
0x71
PRESENCE_LIST =
0x72