Module nitox::commands[][src]

Structs

ConnectCommand

The CONNECT message is the client version of the INFO message. Once the client has established a TCP/IP socket connection with the NATS server, and an INFO message has been received from the server, the client may send a CONNECT message to the NATS server to provide more information about the current connection as well as security information.

ConnectCommandBuilder

Builder for ConnectCommand.

Message

The MSG protocol message is used to deliver an application message to the client.

MessageBuilder

Builder for Message.

PubCommand

The PUB message publishes the message payload to the given subject name, optionally supplying a reply subject. If a reply subject is supplied, it will be delivered to eligible subscribers along with the supplied payload. Note that the payload itself is optional.

PubCommandBuilder

Builder for PubCommand.

ServerError

The -ERR message is used by the server indicate a protocol, authorization, or other runtime connection error to the client. Most of these errors result in the server closing the connection.

ServerInfo

As soon as the server accepts a connection from the client, it will send information about itself and the configuration and security requirements that are necessary for the client to successfully authenticate with the server and exchange messages.

ServerInfoBuilder

Builder for ServerInfo.

SubCommand

SUB initiates a subscription to a subject, optionally joining a distributed queue group.

SubCommandBuilder

Builder for SubCommand.

UnsubCommand

UNSUB unsubcribes the connection from the specified subject, or auto-unsubscribes after the specified number of messages has been received.

UnsubCommandBuilder

Builder for UnsubCommand.