Queue of a communicator and some context. More...
Data Fields | |
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle * | tc_h |
Handle to the TransportCommunicator. More... | |
struct GNUNET_MQ_Envelope * | open_queue_env |
Envelope to a message that requests the opening of the queue. More... | |
struct GNUNET_PeerIdentity | peer_id |
Peer ID of the peer on the other side of the queue. More... | |
uint32_t | qid |
Queue ID. More... | |
uint64_t | mid |
Current message id. More... | |
uint32_t | nt |
An enum GNUNET_NetworkType in NBO. More... | |
uint32_t | mtu |
Maximum transmission unit. More... | |
uint64_t | q_len |
Queue length. More... | |
uint32_t | priority |
Queue prio. More... | |
uint32_t | cs |
An enum GNUNET_TRANSPORT_ConnectionStatus in NBO. More... | |
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue * | next |
Next element inside a DLL. More... | |
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue * | prev |
Previous element inside a DLL. More... | |
Queue of a communicator and some context.
Definition at line 63 of file transport-testing-communicator.c.
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::tc_h |
Handle to the TransportCommunicator.
Definition at line 68 of file transport-testing-communicator.c.
Referenced by 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_MQ_Envelope* GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::open_queue_env |
Envelope to a message that requests the opening of the queue.
If the client already requests queue(s), but the communicator is not yet connected, we cannot send the request to open the queue. Save it until the communicator becomes available and send it then.
Definition at line 77 of file transport-testing-communicator.c.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue().
struct GNUNET_PeerIdentity GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::peer_id |
Peer ID of the peer on the other side of the queue.
Definition at line 82 of file transport-testing-communicator.c.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue(), GNUNET_TRANSPORT_TESTING_transport_communicator_send(), handle_add_queue_message(), and handle_update_queue_message().
uint32_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::qid |
Queue ID.
Definition at line 87 of file transport-testing-communicator.c.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue(), GNUNET_TRANSPORT_TESTING_transport_communicator_send(), handle_add_queue_message(), and handle_update_queue_message().
uint64_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::mid |
Current message id.
Definition at line 92 of file transport-testing-communicator.c.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_send().
uint32_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::nt |
An enum GNUNET_NetworkType
in NBO.
Definition at line 97 of file transport-testing-communicator.c.
Referenced by handle_add_queue_message(), and handle_update_queue_message().
uint32_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::mtu |
Maximum transmission unit.
UINT32_MAX for unlimited.
Definition at line 102 of file transport-testing-communicator.c.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_send(), handle_add_queue_message(), and handle_update_queue_message().
uint64_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::q_len |
Queue length.
UINT64_MAX for unlimited.
Definition at line 107 of file transport-testing-communicator.c.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_send(), handle_add_queue_message(), and handle_update_queue_message().
uint32_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::priority |
Queue prio.
Definition at line 112 of file transport-testing-communicator.c.
Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_send(), handle_add_queue_message(), and handle_update_queue_message().
uint32_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::cs |
An enum GNUNET_TRANSPORT_ConnectionStatus
in NBO.
Definition at line 117 of file transport-testing-communicator.c.
Referenced by handle_add_queue_message(), and handle_update_queue_message().
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue* GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::next |
Next element inside a DLL.
Definition at line 122 of file transport-testing-communicator.c.
Referenced by connect_cb(), GNUNET_TRANSPORT_TESTING_transport_communicator_send(), handle_add_queue_message(), and handle_update_queue_message().
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue* GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::prev |
Previous element inside a DLL.
Definition at line 127 of file transport-testing-communicator.c.