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 MyClientclient_head
 Clients. More...
 
struct MyClientclient_tail
 
struct GNUNET_MQ_Handlec_mq
 Handle to the client. More...
 
struct GNUNET_CONFIGURATION_Handlecfg
 Handle to the configuration. More...
 
char * cfg_filename
 File name of configuration file. More...
 
struct GNUNET_PeerIdentity peer_id
 
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_OS_Processc_proc
 Process of the communicator. More...
 
struct GNUNET_OS_Processnat_proc
 NAT process. More...
 
struct GNUNET_OS_Processresolver_proc
 resolver service process More...
 
struct GNUNET_OS_Processps_proc
 peerstore service 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 64 of file transport-testing2.c.

Field Documentation

◆ client_head

struct MyClient* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::client_head

Clients.

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

Referenced by connect_cb(), and disconnect_cb().

◆ client_tail

struct MyClient* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::client_tail

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

Referenced by connect_cb(), and disconnect_cb().

◆ c_mq

struct GNUNET_MQ_Handle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_mq

◆ cfg

struct GNUNET_CONFIGURATION_Handle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::cfg

◆ cfg_filename

char* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::cfg_filename

◆ peer_id

struct GNUNET_PeerIdentity GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::peer_id

◆ tsh

struct GNUNET_SERVICE_Handle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::tsh

Handle to the transport service.

Definition at line 92 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 98 of file transport-testing2.c.

◆ c_proc

struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_proc

Process of the communicator.

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

Referenced by communicator_start(), and GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop().

◆ nat_proc

struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::nat_proc

NAT process.

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

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), and nat_start().

◆ resolver_proc

struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::resolver_proc

resolver service process

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

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), and resolver_start().

◆ ps_proc

struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::ps_proc

peerstore service process

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

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), and peerstore_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 124 of file transport-testing2.c.

◆ c_characteristics

enum GNUNET_TRANSPORT_CommunicatorCharacteristics GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_characteristics

Characteristics of the communicator.

Definition at line 129 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 134 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 139 of file transport-testing2.c.

Referenced by handle_add_address().

◆ queue_head

struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::queue_head

◆ 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 149 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 156 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 161 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 166 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 171 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 176 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

◆ 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: