GNUnet  0.11.x
Data Fields
GNUNET_TESTBED_LOGGER_Handle Struct Reference

Connection handle for the logger service. More...

Collaboration diagram for GNUNET_TESTBED_LOGGER_Handle:
[legend]

Data Fields

struct GNUNET_MQ_Handlemq
 Client connection. More...
 
GNUNET_TESTBED_LOGGER_FlushCompletion cb
 Flush completion callback. More...
 
void * cb_cls
 Closure for cb. More...
 
char buf [(GNUNET_MAX_MESSAGE_SIZE - sizeof(struct GNUNET_MessageHeader))]
 Local buffer for data to be transmitted. More...
 
size_t buse
 How many bytes in buf are in use? More...
 
size_t bwrote
 Number of bytes wrote since last flush. More...
 
struct GNUNET_TIME_Relative retry_backoff
 How long after should we retry sending a message to the service? More...
 
struct GNUNET_SCHEDULER_Taskflush_completion_task
 Task to call the flush completion callback. More...
 
unsigned int mq_len
 Number of entries in the MQ. More...
 

Detailed Description

Connection handle for the logger service.

Definition at line 48 of file testbed_logger_api.c.

Field Documentation

◆ mq

struct GNUNET_MQ_Handle* GNUNET_TESTBED_LOGGER_Handle::mq

◆ cb

GNUNET_TESTBED_LOGGER_FlushCompletion GNUNET_TESTBED_LOGGER_Handle::cb

Flush completion callback.

Definition at line 58 of file testbed_logger_api.c.

Referenced by call_flush_completion(), GNUNET_TESTBED_LOGGER_flush(), GNUNET_TESTBED_LOGGER_flush_cancel(), and notify_sent().

◆ cb_cls

void* GNUNET_TESTBED_LOGGER_Handle::cb_cls

◆ buf

char GNUNET_TESTBED_LOGGER_Handle::buf[(GNUNET_MAX_MESSAGE_SIZE - sizeof(struct GNUNET_MessageHeader))]

Local buffer for data to be transmitted.

Definition at line 68 of file testbed_logger_api.c.

Referenced by dispatch_buffer(), and GNUNET_TESTBED_LOGGER_write().

◆ buse

size_t GNUNET_TESTBED_LOGGER_Handle::buse

How many bytes in buf are in use?

Definition at line 73 of file testbed_logger_api.c.

Referenced by dispatch_buffer(), GNUNET_TESTBED_LOGGER_flush(), GNUNET_TESTBED_LOGGER_write(), and notify_sent().

◆ bwrote

size_t GNUNET_TESTBED_LOGGER_Handle::bwrote

Number of bytes wrote since last flush.

Definition at line 78 of file testbed_logger_api.c.

Referenced by call_flush_completion(), and dispatch_buffer().

◆ retry_backoff

struct GNUNET_TIME_Relative GNUNET_TESTBED_LOGGER_Handle::retry_backoff

How long after should we retry sending a message to the service?

Definition at line 83 of file testbed_logger_api.c.

◆ flush_completion_task

struct GNUNET_SCHEDULER_Task* GNUNET_TESTBED_LOGGER_Handle::flush_completion_task

Task to call the flush completion callback.

Definition at line 88 of file testbed_logger_api.c.

Referenced by call_flush_completion(), GNUNET_TESTBED_LOGGER_disconnect(), GNUNET_TESTBED_LOGGER_flush_cancel(), and trigger_flush_notification().

◆ mq_len

unsigned int GNUNET_TESTBED_LOGGER_Handle::mq_len

Number of entries in the MQ.

Definition at line 93 of file testbed_logger_api.c.

Referenced by dispatch_buffer(), GNUNET_TESTBED_LOGGER_disconnect(), and notify_sent().


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