Command
class Command( val data: IMessageBufferReader, val tag: String, val category: Int, val acknowledgeOn: Byte = CommandAcknowledgementType.received) : Message
Content copied to clipboard
A Command is a request from one side of the peer connection that some action be performed by the other side of the peer connection. The peer can either respond by acknowledging the command when it is received or when it is finished executing. The peer may also respond with an error
Parameters
data
Data payload of the command.
tag
A string which identifies the content type of the Command.
category
A user-defined Int which can be used to define the type of command
Constructors
Properties
Link copied to clipboard
A byte flag from the CommandAcknowledgementType enum which identifies when the receiving client should send the CommandAcknowledgement for the Command. Defaults to CommandAcknowledgementType.received.
Link copied to clipboard