enum

Movie::Remote::WireEnvelope::Kind

Inherits Enum < Comparable < Value < Object

The kind of message being sent.

Constants

USER_MESSAGE = 0
SYSTEM_MESSAGE = 1
ASK_REQUEST = 2
ASK_RESPONSE = 3
HANDSHAKE = 4
HEARTBEAT = 5

Instance methods

ask_request?

Returns true if this enum value equals ASK_REQUEST

Source
ask_response?

Returns true if this enum value equals ASK_RESPONSE

Source
handshake?

Returns true if this enum value equals HANDSHAKE

Source
heartbeat?

Returns true if this enum value equals HEARTBEAT

Source
system_message?

Returns true if this enum value equals SYSTEM_MESSAGE

Source
user_message?

Returns true if this enum value equals USER_MESSAGE

Source