IBR-DTN  1.0.0
dtn::api::EventConnection Class Reference

#include <EventConnection.h>

Inheritance diagram for dtn::api::EventConnection:
Inheritance graph
Collaboration diagram for dtn::api::EventConnection:
Collaboration graph

Public Member Functions

 EventConnection (ClientHandler &client, ibrcommon::socketstream &stream)
 
virtual ~EventConnection ()
 
void run ()
 
void finally ()
 
void setup ()
 
void __cancellation () throw ()
 
void raiseEvent (const dtn::core::NodeEvent &evt) throw ()
 
void raiseEvent (const dtn::core::GlobalEvent &evt) throw ()
 
void raiseEvent (const dtn::core::CustodyEvent &evt) throw ()
 
void raiseEvent (const dtn::net::BundleReceivedEvent &evt) throw ()
 
void raiseEvent (const dtn::net::TransferAbortedEvent &evt) throw ()
 
void raiseEvent (const dtn::net::TransferCompletedEvent &evt) throw ()
 
void raiseEvent (const dtn::net::ConnectionEvent &evt) throw ()
 
void raiseEvent (const dtn::routing::QueueBundleEvent &evt) throw ()
 
- Public Member Functions inherited from dtn::api::ProtocolHandler
virtual ~ProtocolHandler ()=0
 
- Public Member Functions inherited from dtn::core::EventReceiver< dtn::core::NodeEvent >
virtual ~EventReceiver ()
 
- Public Member Functions inherited from dtn::core::EventReceiver< dtn::core::GlobalEvent >
virtual ~EventReceiver ()
 
- Public Member Functions inherited from dtn::core::EventReceiver< dtn::core::CustodyEvent >
virtual ~EventReceiver ()
 
- Public Member Functions inherited from dtn::core::EventReceiver< dtn::net::BundleReceivedEvent >
virtual ~EventReceiver ()
 
- Public Member Functions inherited from dtn::core::EventReceiver< dtn::net::TransferAbortedEvent >
virtual ~EventReceiver ()
 
- Public Member Functions inherited from dtn::core::EventReceiver< dtn::net::TransferCompletedEvent >
virtual ~EventReceiver ()
 
- Public Member Functions inherited from dtn::core::EventReceiver< dtn::net::ConnectionEvent >
virtual ~EventReceiver ()
 
- Public Member Functions inherited from dtn::core::EventReceiver< dtn::routing::QueueBundleEvent >
virtual ~EventReceiver ()
 

Additional Inherited Members

- Protected Member Functions inherited from dtn::api::ProtocolHandler
 ProtocolHandler (ClientHandler &client, ibrcommon::socketstream &stream)
 
- Protected Attributes inherited from dtn::api::ProtocolHandler
ClientHandler_client
 
ibrcommon::socketstream & _stream
 

Detailed Description

Definition at line 41 of file EventConnection.h.

Constructor & Destructor Documentation

dtn::api::EventConnection::EventConnection ( ClientHandler client,
ibrcommon::socketstream &  stream 
)

Definition at line 31 of file EventConnection.cpp.

dtn::api::EventConnection::~EventConnection ( )
virtual

Definition at line 36 of file EventConnection.cpp.

Member Function Documentation

void dtn::api::EventConnection::__cancellation ( )
throw (
)
virtual

Implements dtn::api::ProtocolHandler.

Definition at line 371 of file EventConnection.cpp.

void dtn::api::EventConnection::finally ( )
virtual

Implements dtn::api::ProtocolHandler.

Definition at line 358 of file EventConnection.cpp.

References dtn::core::EventDispatcher< E >::remove().

Here is the call graph for this function:

void dtn::api::EventConnection::raiseEvent ( const dtn::core::NodeEvent evt)
throw (
)
virtual
void dtn::api::EventConnection::raiseEvent ( const dtn::core::CustodyEvent evt)
throw (
)
virtual
void dtn::api::EventConnection::raiseEvent ( const dtn::net::BundleReceivedEvent evt)
throw (
)
virtual
void dtn::api::EventConnection::raiseEvent ( const dtn::net::TransferAbortedEvent evt)
throw (
)
virtual
void dtn::api::EventConnection::raiseEvent ( const dtn::net::TransferCompletedEvent evt)
throw (
)
virtual
void dtn::api::EventConnection::raiseEvent ( const dtn::routing::QueueBundleEvent evt)
throw (
)
virtual
void dtn::api::EventConnection::run ( )
virtual

Implements dtn::api::ProtocolHandler.

Definition at line 318 of file EventConnection.cpp.

References dtn::api::ProtocolHandler::_stream, dtn::api::ClientHandler::API_STATUS_OK, and dtn::utils::Utils::tokenize().

Here is the call graph for this function:

void dtn::api::EventConnection::setup ( )
virtual

Reimplemented from dtn::api::ProtocolHandler.

Definition at line 345 of file EventConnection.cpp.

References dtn::core::EventDispatcher< E >::add().

Here is the call graph for this function:


The documentation for this class was generated from the following files: