Argument to GNUNET_TESTBED_ControllerCallback with details about the event. More...
#include <gnunet_testbed_service.h>
Data Fields | |
enum GNUNET_TESTBED_EventType | type |
Type of the event. More... | |
struct GNUNET_TESTBED_Operation * | op |
Handle for the corresponding operation that generated this event. More... | |
void * | op_cls |
Closure given while creating the above operation. More... | |
union { | |
struct { | |
struct GNUNET_TESTBED_Host * host | |
Handle for the host where the peer was started. More... | |
struct GNUNET_TESTBED_Peer * peer | |
Handle for the peer that was started. More... | |
} peer_start | |
Details about peer start event. More... | |
struct { | |
struct GNUNET_TESTBED_Peer * peer | |
Handle for the peer that was started. More... | |
} peer_stop | |
Details about peer stop event. More... | |
struct { | |
struct GNUNET_TESTBED_Peer * peer1 | |
Handle for one of the connected peers. More... | |
struct GNUNET_TESTBED_Peer * peer2 | |
Handle for one of the connected peers. More... | |
} peer_connect | |
Details about connect event. More... | |
struct { | |
struct GNUNET_TESTBED_Peer * peer1 | |
Handle for one of the disconnected peers. More... | |
struct GNUNET_TESTBED_Peer * peer2 | |
Handle for one of the disconnected peers. More... | |
} peer_disconnect | |
Details about disconnect event. More... | |
struct { | |
const char * emsg | |
Error message for the operation, NULL on success. More... | |
void * generic | |
No result (NULL pointer) or generic result (whatever the GNUNET_TESTBED_ConnectAdapter returned). More... | |
} operation_finished | |
Details about an operation finished event. More... | |
} | details |
Details about the event. More... | |
Argument to GNUNET_TESTBED_ControllerCallback with details about the event.
Definition at line 284 of file gnunet_testbed_service.h.
enum GNUNET_TESTBED_EventType GNUNET_TESTBED_EventInformation::type |
Type of the event.
Definition at line 1718 of file gnunet_testbed_service.h.
Referenced by gnunet_testing.Condition::__init__(), controller_event_cb(), gnunet_testing.Condition::evaluate(), gnunet_testing.FileExistCondition::evaluate(), event_cb(), handle_peer_conevent(), handle_peer_event(), master_controller_cb(), run(), and slave_event_cb().
struct GNUNET_TESTBED_Operation* GNUNET_TESTBED_EventInformation::op |
Handle for the corresponding operation that generated this event.
Definition at line 294 of file gnunet_testbed_service.h.
Referenced by event_cb(), handle_op_fail_event(), handle_opsuccess(), handle_peer_conevent(), handle_peer_event(), and slave_event_cb().
void* GNUNET_TESTBED_EventInformation::op_cls |
Closure given while creating the above operation.
Definition at line 299 of file gnunet_testbed_service.h.
struct GNUNET_TESTBED_Host* GNUNET_TESTBED_EventInformation::host |
Handle for the host where the peer was started.
Definition at line 315 of file gnunet_testbed_service.h.
Referenced by handle_link_controllers_result().
struct GNUNET_TESTBED_Peer* GNUNET_TESTBED_EventInformation::peer |
Handle for the peer that was started.
Definition at line 320 of file gnunet_testbed_service.h.
Referenced by gnunet_testing.StatisticsCondition::check(), gnunet_testing.EqualStatisticsCondition::check(), gnunet_testing.StatisticsCondition::evaluate(), and gnunet_testing.EqualStatisticsCondition::evaluate().
struct { ... } GNUNET_TESTBED_EventInformation::peer_start |
Details about peer start event.
struct { ... } GNUNET_TESTBED_EventInformation::peer_stop |
Details about peer stop event.
struct GNUNET_TESTBED_Peer* GNUNET_TESTBED_EventInformation::peer1 |
Handle for one of the connected peers.
Handle for one of the disconnected peers.
Definition at line 342 of file gnunet_testbed_service.h.
struct GNUNET_TESTBED_Peer* GNUNET_TESTBED_EventInformation::peer2 |
Handle for one of the connected peers.
Handle for one of the disconnected peers.
Definition at line 347 of file gnunet_testbed_service.h.
Referenced by gnunet_testing.EqualStatisticsCondition::check(), and gnunet_testing.EqualStatisticsCondition::evaluate().
struct { ... } GNUNET_TESTBED_EventInformation::peer_connect |
Details about connect event.
struct { ... } GNUNET_TESTBED_EventInformation::peer_disconnect |
Details about disconnect event.
const char* GNUNET_TESTBED_EventInformation::emsg |
Error message for the operation, NULL on success.
Definition at line 374 of file gnunet_testbed_service.h.
Referenced by configuration_receiver(), handle_link_controllers_result(), and handle_op_fail_event().
void* GNUNET_TESTBED_EventInformation::generic |
No result (NULL pointer) or generic result (whatever the GNUNET_TESTBED_ConnectAdapter returned).
Definition at line 380 of file gnunet_testbed_service.h.
struct { ... } GNUNET_TESTBED_EventInformation::operation_finished |
Details about an operation finished event.
Referenced by controller_event_cb(), event_cb(), and slave_event_cb().
union { ... } GNUNET_TESTBED_EventInformation::details |
Details about the event.
Referenced by controller_event_cb(), event_cb(), and slave_event_cb().