package amqp-client-async

  1. Overview
  2. Docs

Module Amqp_client_async.ConstantsSource

Internal - Low level protocol description

Sourceval frame_method : int
Sourceval frame_header : int
Sourceval frame_body : int
Sourceval frame_heartbeat : int
Sourceval frame_min_size : int
Sourceval frame_end : int
Sourceval reply_success : int

Indicates that the method completed successfully. This reply code is reserved for future use - the current protocol design does not use positive confirmation and reply codes are sent only in case of an error.

Sourceval content_too_large : int

The client attempted to transfer content larger than the server could accept at the present time. The client may retry at a later time.

Sourceval no_consumers : int

When the exchange cannot deliver to a consumer when the immediate flag is set. As a result of pending data on the queue or the absence of any consumers of the queue.

Sourceval connection_forced : int

An operator intervened to close the connection for some reason. The client may retry at some later date.

Sourceval invalid_path : int

The client tried to work with an unknown virtual host.

Sourceval access_refused : int

The client attempted to work with a server entity to which it has no access due to security settings.

Sourceval not_found : int

The client attempted to work with a server entity that does not exist.

Sourceval resource_locked : int

The client attempted to work with a server entity to which it has no access because another client is working with it.

Sourceval precondition_failed : int

The client requested a method that was not allowed because some precondition failed.

Sourceval frame_error : int

The sender sent a malformed frame that the recipient could not decode. This strongly implies a programming error in the sending peer.

Sourceval syntax_error : int

The sender sent a frame that contained illegal values for one or more fields. This strongly implies a programming error in the sending peer.

Sourceval command_invalid : int

The client sent an invalid sequence of frames, attempting to perform an operation that was considered invalid by the server. This usually implies a programming error in the client.

Sourceval channel_error : int

The client attempted to work with a channel that had not been correctly opened. This most likely indicates a fault in the client layer.

Sourceval unexpected_frame : int

The peer sent a frame that was not expected, usually in the context of a content header and body. This strongly indicates a fault in the peer's content processing.

Sourceval resource_error : int

The server could not complete the method because it lacked sufficient resources. This may be due to the client creating too many of some type of entity.

Sourceval not_allowed : int

The client tried to work with some entity in a manner that is prohibited by the server, due to security settings or by some other criteria.

Sourceval not_implemented : int

The client tried to use functionality that is not implemented in the server.

Sourceval internal_error : int

The server could not complete the method because of an internal error. The server may require intervention by an operator in order to resume normal operations.

OCaml

Innovation. Community. Security.