GNUnet  0.11.x
Data Fields
GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle Struct Reference

Handle to a transport communicator. More...

Collaboration diagram for GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle:
[legend]

Data Fields

struct GNUNET_CONFIGURATION_Handlecfg
 Handle to the configuration. More...
 
char * cfg_filename
 File name of configuration file. More...
 
struct GNUNET_SERVICE_Handletsh
 Handle to the transport service. More...
 
struct GNUNET_SCHEDULER_Taskts_shutdown_task
 Task that will be run on shutdown to stop and clean transport service. More...
 
struct GNUNET_SERVICE_Clientclient
 Handle to the client. More...
 
struct GNUNET_MQ_Handlec_mq
 Handle to the client. More...
 
struct GNUNET_OS_Processc_proc
 Process of the communicator. More...
 
struct GNUNET_OS_Processnat_proc
 NAT process. More...
 
struct GNUNET_SCHEDULER_Taskc_shutdown_task
 Task that will be run on shutdown to stop and clean communicator. More...
 
enum GNUNET_TRANSPORT_CommunicatorCharacteristics c_characteristics
 Characteristics of the communicator. More...
 
char * c_addr_prefix
 Specifies supported addresses. More...
 
char * c_address
 Specifies supported addresses. More...
 
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueuequeue_head
 Head of the DLL of queues associated with this communicator. More...
 
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueuequeue_tail
 Tail of the DLL of queues associated with this communicator. More...
 
GNUNET_TRANSPORT_TESTING_CommunicatorAvailableCallback communicator_available_cb
 Callback called when a new communicator connects. More...
 
GNUNET_TRANSPORT_TESTING_AddAddressCallback add_address_cb
 Callback called when a new communicator connects. More...
 
GNUNET_TRANSPORT_TESTING_QueueCreateReplyCallback queue_create_reply_cb
 Callback called when a new communicator connects. More...
 
GNUNET_TRANSPORT_TESTING_AddQueueCallback add_queue_cb
 Callback called when a new communicator connects. More...
 
GNUNET_TRANSPORT_TESTING_IncomingMessageCallback incoming_msg_cb
 Callback called when a new communicator connects. More...
 
GNUNET_TRANSPORT_TESTING_BackchannelCallback bc_cb
 Backchannel callback. More...
 
struct GNUNET_SERVICE_Handlesh
 Our service handle. More...
 
void * cb_cls
 Closure to the callback. More...
 
int bc_enabled
 Backchannel supported. More...
 

Detailed Description

Handle to a transport communicator.

Definition at line 44 of file transport-testing2.c.

Field Documentation

◆ cfg

struct GNUNET_CONFIGURATION_Handle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::cfg

Handle to the configuration.

Definition at line 49 of file transport-testing2.c.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), and transport_communicator_start().

◆ cfg_filename

char* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::cfg_filename

File name of configuration file.

Definition at line 54 of file transport-testing2.c.

Referenced by communicator_start(), GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), and nat_start().

◆ tsh

struct GNUNET_SERVICE_Handle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::tsh

Handle to the transport service.

Definition at line 59 of file transport-testing2.c.

◆ ts_shutdown_task

struct GNUNET_SCHEDULER_Task* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::ts_shutdown_task

Task that will be run on shutdown to stop and clean transport service.

Definition at line 65 of file transport-testing2.c.

◆ client

struct GNUNET_SERVICE_Client* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::client

◆ c_mq

struct GNUNET_MQ_Handle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_mq

◆ c_proc

struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_proc

Process of the communicator.

Definition at line 80 of file transport-testing2.c.

Referenced by communicator_start(), and do_shutdown().

◆ nat_proc

struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::nat_proc

NAT process.

Definition at line 85 of file transport-testing2.c.

Referenced by do_shutdown(), and nat_start().

◆ c_shutdown_task

struct GNUNET_SCHEDULER_Task* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_shutdown_task

Task that will be run on shutdown to stop and clean communicator.

Definition at line 90 of file transport-testing2.c.

◆ c_characteristics

enum GNUNET_TRANSPORT_CommunicatorCharacteristics GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_characteristics

Characteristics of the communicator.

Definition at line 95 of file transport-testing2.c.

Referenced by handle_communicator_available().

◆ c_addr_prefix

char* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_addr_prefix

Specifies supported addresses.

Definition at line 100 of file transport-testing2.c.

Referenced by handle_communicator_available().

◆ c_address

char* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_address

Specifies supported addresses.

Definition at line 105 of file transport-testing2.c.

Referenced by handle_add_address().

◆ queue_head

struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::queue_head

Head of the DLL of queues associated with this communicator.

Definition at line 110 of file transport-testing2.c.

Referenced by connect_cb(), GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue(), and handle_add_queue_message().

◆ queue_tail

struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::queue_tail

Tail of the DLL of queues associated with this communicator.

Definition at line 115 of file transport-testing2.c.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue(), and handle_add_queue_message().

◆ communicator_available_cb

GNUNET_TRANSPORT_TESTING_CommunicatorAvailableCallback GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::communicator_available_cb

Callback called when a new communicator connects.

Definition at line 122 of file transport-testing2.c.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), and handle_communicator_available().

◆ add_address_cb

GNUNET_TRANSPORT_TESTING_AddAddressCallback GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::add_address_cb

Callback called when a new communicator connects.

Definition at line 127 of file transport-testing2.c.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), and handle_add_address().

◆ queue_create_reply_cb

GNUNET_TRANSPORT_TESTING_QueueCreateReplyCallback GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::queue_create_reply_cb

Callback called when a new communicator connects.

Definition at line 132 of file transport-testing2.c.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), handle_queue_create_fail(), and handle_queue_create_ok().

◆ add_queue_cb

GNUNET_TRANSPORT_TESTING_AddQueueCallback GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::add_queue_cb

Callback called when a new communicator connects.

Definition at line 137 of file transport-testing2.c.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), and handle_add_queue_message().

◆ incoming_msg_cb

GNUNET_TRANSPORT_TESTING_IncomingMessageCallback GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::incoming_msg_cb

Callback called when a new communicator connects.

Definition at line 142 of file transport-testing2.c.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), and handle_incoming_msg().

◆ bc_cb

GNUNET_TRANSPORT_TESTING_BackchannelCallback GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::bc_cb

◆ sh

struct GNUNET_SERVICE_Handle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::sh

Our service handle.

Definition at line 152 of file transport-testing2.c.

Referenced by do_shutdown(), and transport_communicator_start().

◆ cb_cls

void* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::cb_cls

◆ bc_enabled

int GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::bc_enabled

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