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 64 of file transport-testing-communicator.c.
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::tc_h |
Handle to the TransportCommunicator.
Definition at line 69 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().
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 78 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 78 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 88 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 93 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 98 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 103 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 108 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 113 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 118 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 123 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 128 of file transport-testing-communicator.c.