Function

nw_content_context_set_expiration_milliseconds

Sets the number of milliseconds after which sending the data associated with this context must begin, otherwise the data is discarded.

Declaration

void nw_content_context_set_expiration_milliseconds(nw_content_context_t context, uint64_t expiration_milliseconds);

See Also

Creating Custom Send Contexts

nw_content_context_create

Initializes a custom message context.

nw_content_context_set_metadata_for_protocol

Sets protocol metadata to configure per-message or per-packet properties.

nw_protocol_metadata_t

The abstract superclass for specifying metadata about a network protocol.

nw_content_context_set_antecedent

Set an optional message context that must be sent before the context you are sending.

nw_content_context_copy_antecedent

Accesses the optional message context that must be sent before the context you are sending.

nw_content_context_get_expiration_milliseconds

Accesses the expiration set for this message context.

nw_content_context_set_relative_priority

Sets the relative value of priority used to reorder contexts when sending.

nw_content_context_get_relative_priority

Accesses the relative value of priority used to reorder contexts when sending.

nw_content_context_set_is_final

Sets a Boolean indicating if this context represents the final message being sent.

nw_content_context_get_identifier

Accesses the identifier used to create this message context.