PingFrame

Undocumented in source.

Constructors

this
this(bool reply)

Creates a PING frame with an empty payload.

this
this(long value, bool reply)

Creates a PING frame with the given {@code long} {@code value} as payload.

this
this(byte[] payload, bool reply)

Creates a PING frame with the given {@code payload}.

Members

Functions

getPayload
byte[] getPayload()
Undocumented in source. Be warned that the author may not have intended to support it.
getPayloadAsLong
long getPayloadAsLong()
Undocumented in source. Be warned that the author may not have intended to support it.
isReply
bool isReply()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

PING_LENGTH
int PING_LENGTH;
Undocumented in source.

Inherited Members

From Frame

HEADER_LENGTH
enum HEADER_LENGTH;
Undocumented in source.
DEFAULT_MAX_LENGTH
enum DEFAULT_MAX_LENGTH;
Undocumented in source.
MAX_MAX_LENGTH
enum MAX_MAX_LENGTH;
Undocumented in source.
EMPTY_ARRAY
Frame[] EMPTY_ARRAY;
Undocumented in source.
getType
FrameType getType()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta