GNUnet 0.22.2
GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle Struct Reference

Handle to a transport communicator. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/transport/transport-testing-communicator.h>

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_Processstat_proc
 statistics 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...
 
GNUNET_SCHEDULER_TaskCallback cont
 Callback to call when message ack received. More...
 
void * cont_cls
 Closure for cont. More...
 
int bc_enabled
 Backchannel supported. More...
 

Detailed Description

Handle to a transport communicator.

Definition at line 150 of file transport-testing-communicator.h.

Field Documentation

◆ client_head

struct MyClient* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::client_head

Clients.

Definition at line 155 of file transport-testing-communicator.h.

Referenced by connect_cb(), and disconnect_cb().

◆ client_tail

struct MyClient* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::client_tail

Definition at line 156 of file transport-testing-communicator.h.

Referenced by connect_cb(), and disconnect_cb().

◆ c_mq

◆ 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 178 of file transport-testing-communicator.h.

◆ 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 184 of file transport-testing-communicator.h.

◆ c_proc

struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_proc

Process of the communicator.

Definition at line 190 of file transport-testing-communicator.h.

Referenced by communicator_start(), and GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop().

◆ nat_proc

struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::nat_proc

◆ resolver_proc

struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::resolver_proc

resolver service process

Definition at line 200 of file transport-testing-communicator.h.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), and resolver_start().

◆ stat_proc

struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::stat_proc

statistics service process

Definition at line 205 of file transport-testing-communicator.h.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), and statistics_start().

◆ ps_proc

struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::ps_proc

peerstore service process

Definition at line 210 of file transport-testing-communicator.h.

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 215 of file transport-testing-communicator.h.

◆ c_characteristics

enum GNUNET_TRANSPORT_CommunicatorCharacteristics GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_characteristics

Characteristics of the communicator.

Definition at line 220 of file transport-testing-communicator.h.

Referenced by handle_communicator_available().

◆ c_addr_prefix

char* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_addr_prefix

◆ c_address

char* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_address

Specifies supported addresses.

Definition at line 230 of file transport-testing-communicator.h.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), and handle_add_address().

◆ queue_head

◆ queue_tail

struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::queue_tail

◆ communicator_available_cb

GNUNET_TRANSPORT_TESTING_CommunicatorAvailableCallback GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::communicator_available_cb

Callback called when a new communicator connects.

Definition at line 247 of file transport-testing-communicator.h.

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 252 of file transport-testing-communicator.h.

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 257 of file transport-testing-communicator.h.

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 262 of file transport-testing-communicator.h.

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 267 of file transport-testing-communicator.h.

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

◆ cont

GNUNET_SCHEDULER_TaskCallback GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::cont

Callback to call when message ack received.

Definition at line 287 of file transport-testing-communicator.h.

Referenced by handle_send_message_ack().

◆ cont_cls

void* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::cont_cls

Closure for cont.

Definition at line 292 of file transport-testing-communicator.h.

Referenced by handle_send_message_ack().

◆ bc_enabled

int GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::bc_enabled

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