GNUnet  0.11.x
Data Fields
GNUNET_CONNECTION_TransmitHandle Struct Reference

Transmission handle. More...

Collaboration diagram for GNUNET_CONNECTION_TransmitHandle:

Data Fields

GNUNET_CONNECTION_TransmitReadyNotify notify_ready
 Function to call if the send buffer has notify_size bytes available. More...
void * notify_ready_cls
 Closure for notify_ready. More...
struct GNUNET_CONNECTION_Handleconnection
 Our connection handle. More...
struct GNUNET_TIME_Absolute transmit_timeout
 Timeout for receiving (in absolute time). More...
struct GNUNET_SCHEDULER_Tasktimeout_task
 Task called on timeout. More...
size_t notify_size
 At what number of bytes available in the write buffer should the notify method be called? More...

Detailed Description

Transmission handle.

There can only be one for each connection.

Definition at line 55 of file tcp_connection_legacy.c.

Field Documentation

◆ notify_ready

GNUNET_CONNECTION_TransmitReadyNotify GNUNET_CONNECTION_TransmitHandle::notify_ready

◆ notify_ready_cls

void* GNUNET_CONNECTION_TransmitHandle::notify_ready_cls

◆ connection

struct GNUNET_CONNECTION_Handle* GNUNET_CONNECTION_TransmitHandle::connection

◆ transmit_timeout

struct GNUNET_TIME_Absolute GNUNET_CONNECTION_TransmitHandle::transmit_timeout

Timeout for receiving (in absolute time).

Definition at line 76 of file tcp_connection_legacy.c.

Referenced by connect_success_continuation(), GNUNET_CONNECTION_notify_transmit_ready(), transmit_ready(), and try_connect_using_address().

◆ timeout_task

struct GNUNET_SCHEDULER_Task* GNUNET_CONNECTION_TransmitHandle::timeout_task

◆ notify_size

size_t GNUNET_CONNECTION_TransmitHandle::notify_size

At what number of bytes available in the write buffer should the notify method be called?

Definition at line 87 of file tcp_connection_legacy.c.

Referenced by connect_error(), GNUNET_CONNECTION_notify_transmit_ready(), process_notify(), and transmit_ready().

The documentation for this struct was generated from the following file: