Information about a plugin's session. More...
#include <gnunet_transport_service.h>
Data Fields | |
enum GNUNET_TRANSPORT_SessionState | state |
New state of the session. More... | |
int | is_inbound |
GNUNET_YES if this is an inbound connection, GNUNET_NO if this is an outbound connection, GNUNET_SYSERR if connections of this plugin are so fundamentally bidirectional that they have no 'initiator' More... | |
uint32_t | num_msg_pending |
Number of messages pending transmission for this session. More... | |
uint32_t | num_bytes_pending |
Number of bytes pending transmission for this session. More... | |
struct GNUNET_TIME_Absolute | receive_delay |
Until when does this plugin refuse to receive to manage staying within the inbound quota? ZERO if receive is active. More... | |
struct GNUNET_TIME_Absolute | session_timeout |
At what time will this session timeout (unless activity happens)? More... | |
const struct GNUNET_HELLO_Address * | address |
Address used by the session. More... | |
Information about a plugin's session.
Definition at line 489 of file gnunet_transport_service.h.
enum GNUNET_TRANSPORT_SessionState GNUNET_TRANSPORT_SessionInfo::state |
New state of the session.
Definition at line 697 of file gnunet_transport_service.h.
Referenced by httpdomain.autohttp.bottle.AutobottleDirective::run(), httpdomain.autohttp.flask.AutoflaskDirective::run(), httpdomain.autohttp.flaskqref.QuickReferenceFlaskDirective::run(), httpdomain.autohttp.tornado.AutoTornadoDirective::run(), and typescriptdomain.TypeScriptDefinition::run().
int GNUNET_TRANSPORT_SessionInfo::is_inbound |
GNUNET_YES if this is an inbound connection, GNUNET_NO if this is an outbound connection, GNUNET_SYSERR if connections of this plugin are so fundamentally bidirectional that they have no 'initiator'
Definition at line 503 of file gnunet_transport_service.h.
uint32_t GNUNET_TRANSPORT_SessionInfo::num_msg_pending |
Number of messages pending transmission for this session.
Definition at line 508 of file gnunet_transport_service.h.
uint32_t GNUNET_TRANSPORT_SessionInfo::num_bytes_pending |
Number of bytes pending transmission for this session.
Definition at line 513 of file gnunet_transport_service.h.
struct GNUNET_TIME_Absolute GNUNET_TRANSPORT_SessionInfo::receive_delay |
Until when does this plugin refuse to receive to manage staying within the inbound quota? ZERO if receive is active.
Definition at line 513 of file gnunet_transport_service.h.
struct GNUNET_TIME_Absolute GNUNET_TRANSPORT_SessionInfo::session_timeout |
At what time will this session timeout (unless activity happens)?
Definition at line 513 of file gnunet_transport_service.h.
const struct GNUNET_HELLO_Address* GNUNET_TRANSPORT_SessionInfo::address |
Address used by the session.
Can be NULL if none is available.
Definition at line 531 of file gnunet_transport_service.h.