Handle to a transport communicator. More...
Data Fields | |
struct MyClient * | client_head |
Clients. More... | |
struct MyClient * | client_tail |
struct GNUNET_MQ_Handle * | c_mq |
Handle to the client. More... | |
struct GNUNET_CONFIGURATION_Handle * | cfg |
Handle to the configuration. More... | |
char * | cfg_filename |
File name of configuration file. More... | |
struct GNUNET_PeerIdentity | peer_id |
struct GNUNET_SERVICE_Handle * | tsh |
Handle to the transport service. More... | |
struct GNUNET_SCHEDULER_Task * | ts_shutdown_task |
Task that will be run on shutdown to stop and clean transport service. More... | |
struct GNUNET_OS_Process * | c_proc |
Process of the communicator. More... | |
struct GNUNET_OS_Process * | nat_proc |
NAT process. More... | |
struct GNUNET_OS_Process * | resolver_proc |
resolver service process More... | |
struct GNUNET_OS_Process * | stat_proc |
statistics service process More... | |
struct GNUNET_OS_Process * | ps_proc |
peerstore service process More... | |
struct GNUNET_SCHEDULER_Task * | c_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_TransportCommunicatorQueue * | queue_head |
Head of the DLL of queues associated with this communicator. More... | |
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue * | queue_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_Handle * | sh |
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... | |
Handle to a transport communicator.
Definition at line 150 of file transport-testing-communicator.h.
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().
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().
struct GNUNET_MQ_Handle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_mq |
Handle to the client.
Definition at line 161 of file transport-testing-communicator.h.
Referenced by connect_cb(), disconnect_cb(), GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue(), GNUNET_TRANSPORT_TESTING_transport_communicator_send(), handle_communicator_available(), handle_communicator_backchannel(), and handle_incoming_msg().
struct GNUNET_CONFIGURATION_Handle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::cfg |
Handle to the configuration.
Definition at line 166 of file transport-testing-communicator.h.
Referenced by communicator_start(), GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), and transport_communicator_start().
char* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::cfg_filename |
File name of configuration file.
Definition at line 171 of file transport-testing-communicator.h.
Referenced by communicator_start(), GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), nat_start(), peerstore_start(), resolver_start(), and statistics_start().
struct GNUNET_PeerIdentity GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::peer_id |
Definition at line 173 of file transport-testing-communicator.h.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), and handle_communicator_backchannel().
struct GNUNET_SERVICE_Handle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::tsh |
Handle to the transport service.
Definition at line 178 of file transport-testing-communicator.h.
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.
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().
struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::nat_proc |
NAT process.
Definition at line 195 of file transport-testing-communicator.h.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), and nat_start().
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().
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().
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().
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.
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().
char* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::c_addr_prefix |
Specifies supported addresses.
Definition at line 225 of file transport-testing-communicator.h.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), and handle_communicator_available().
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().
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::queue_head |
Head of the DLL of queues associated with this communicator.
Definition at line 235 of file transport-testing-communicator.h.
Referenced by connect_cb(), GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue(), GNUNET_TRANSPORT_TESTING_transport_communicator_send(), GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), handle_add_queue_message(), and handle_update_queue_message().
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::queue_tail |
Tail of the DLL of queues associated with this communicator.
Definition at line 240 of file transport-testing-communicator.h.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue(), GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), and handle_add_queue_message().
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().
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().
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().
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().
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().
GNUNET_TRANSPORT_TESTING_BackchannelCallback GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::bc_cb |
Backchannel callback.
Definition at line 272 of file transport-testing-communicator.h.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), and handle_communicator_backchannel().
struct GNUNET_SERVICE_Handle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::sh |
Our service handle.
Definition at line 277 of file transport-testing-communicator.h.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop(), and transport_communicator_start().
void* GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::cb_cls |
Closure to the callback.
Definition at line 282 of file transport-testing-communicator.h.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), handle_add_address(), handle_add_queue_message(), handle_communicator_available(), handle_incoming_msg(), handle_queue_create_fail(), and handle_queue_create_ok().
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().
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().
int GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle::bc_enabled |
Backchannel supported.
Definition at line 297 of file transport-testing-communicator.h.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(), and handle_communicator_backchannel().