Home
Base module

Sendable

Abstract interface for classes that can be sent and cancelled.

Sendable

#include <icy/interface.h>
class Sendable

Defined in src/base/include/icy/interface.h:119

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

Abstract interface for classes that can be sent and cancelled.

List of all members

NameKindOwner
sendfunctionDeclared here
cancelfunctionDeclared here

Public Methods

ReturnNameDescription
boolsend virtualInitiates the send operation.
voidcancel virtualCancels a pending send operation.

send

virtual

virtual bool send()

Defined in src/base/include/icy/interface.h:124

Initiates the send operation.

Returns

true if the send was dispatched successfully, false otherwise.

Reimplemented by

cancel

virtual

virtual void cancel()

Defined in src/base/include/icy/interface.h:127

Cancels a pending send operation.

Reimplemented by