Base module

Sendable

Abstract interface for classes that can be sent and cancelled.

Sendable

#include <icy/interface.h>

Subclassed by: PacketTransaction< Message >, PacketTransaction< PacketT >

Abstract interface for classes that can be sent and cancelled.

Public Methods

ReturnNameDescription
boolsendInitiates the send operation.
voidcancelCancels a pending send operation.

send

bool send()

Initiates the send operation.

Returns

true if the send was dispatched successfully, false otherwise.


cancel

void cancel()

Cancels a pending send operation.