Limit
The bounds an endpoint keeps. New ones may be added before 1.0; use an else branch.
Entries
CoapEndpointConfig.maxDeduplicationEntries: a new message from peer was dropped, because every message remembered must still be processed at most once (RFC 7252 §4.5), or because it was a non-idempotent request, which would have had to be remembered too, while three quarters of the bound hold such messages.
CoapEndpointConfig.maxDeduplicationEntriesPerPeer: a new message from peer was dropped, because every message remembered from peer must still be processed at most once (RFC 7252 §4.5).
CoapEndpointConfig.maxConcurrentRequests: a request was answered with 5.03, or dropped.
CoapEndpointConfig.maxExchangesPerPeer: a request failed, or a separate response or notification was not sent.
CoapEndpointConfig.maxExchanges: a request to peer failed, a separate response to peer was not sent, or a notification to peer was not sent yet (it goes later, with the latest state); or a Confirmable message to peer that a retransmission had not got acknowledged either was given up early, to make room for a new one.
CoapEndpointConfig.maxReservedMessageIds: a message to peer that needed a new Message ID, a request, a separate response or a notification, was not sent (RFC 7252 §4.4), a notification not yet (it goes later, with the latest state). A response to a Non-confirmable request is refused already at three quarters of the bound.
CoapEndpointConfig.maxReservedMessageIdsPerPeer: a message to peer that needed a new Message ID was not sent (RFC 7252 §4.4), as for MESSAGE_IDS.
CoapServerConfig.maxObserversPerResource: a registration was served without Observe.
CoapServerConfig.maxObserversPerPeer: a registration was served without Observe.
ReliableTransportConfig.maxPendingConnections: an accepted connection was closed.
ReliableTransportConfig.maxConnections: an accepted connection was closed.
CoapServerConfig.amplificationFactor: a response to an address not yet verified was held back, and a 4.01 Unauthorized with Echo went to that address instead (RFC 9175 §2.4 item 3).
CoapServerConfig.maxVerifiedAddresses: peer, the address verified longest ago, was forgotten to make room for a newly verified one; it is challenged again when it next needs to be verified.
CoapServerConfig.maxVerifiedAddresses: the oldest outstanding Echo challenge, the one sent to peer, was dropped for a new one; that Echo value no longer verifies the address.
CoapServerConfig.maxConcurrentTransfers: the response held back longest, that of a POST or PATCH from peer kept for its repeat with Echo, was dropped for a new one (RFC 9175 §2.4 item 3). When that repeat comes, the request runs again.
QBlockServerConfig.maxPartialBodies: a Q-Block1 upload from peer that would start one more partial body was refused with 5.03 Service Unavailable and Max-Age (RFC 9177 §4.3, RFC 7959 §7.1).
QBlockServerConfig.maxCachedBodies: the Q-Block2 body, or the record of a completed Q-Block1 body, used longest ago, that of peer, was dropped for a new one. A later request for its missing blocks runs a GET or FETCH again and gets 4.08 for other methods (RFC 9177 §4.4).
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.