IBR-DTNSuite
0.12
|
#include <EventConnection.h>
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::Event *evt) throw () |
Public Member Functions inherited from dtn::api::ProtocolHandler | |
virtual | ~ProtocolHandler ()=0 |
Public Member Functions inherited from dtn::core::EventReceiver | |
virtual | ~EventReceiver ()=0 |
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 |
Definition at line 32 of file EventConnection.h.
dtn::api::EventConnection::EventConnection | ( | ClientHandler & | client, |
ibrcommon::socketstream & | stream | ||
) |
Definition at line 40 of file EventConnection.cpp.
|
virtual |
Definition at line 45 of file EventConnection.cpp.
|
virtual |
Implements dtn::api::ProtocolHandler.
Definition at line 372 of file EventConnection.cpp.
|
virtual |
Implements dtn::api::ProtocolHandler.
Definition at line 359 of file EventConnection.cpp.
References dtn::core::EventDispatcher< E >::remove().
|
virtual |
Implements dtn::core::EventReceiver.
Definition at line 49 of file EventConnection.cpp.
References _running, dtn::data::MetaBundle::appdatalength, dtn::data::PrimaryBlock::appdatalength, dtn::routing::QueueBundleEvent::bundle, dtn::net::BundleReceivedEvent::bundle, dtn::net::ConnectionEvent::CONNECTION_DOWN, dtn::net::ConnectionEvent::CONNECTION_SETUP, dtn::net::ConnectionEvent::CONNECTION_TIMEOUT, dtn::net::ConnectionEvent::CONNECTION_UP, dtn::core::CUSTODY_ACCEPT, dtn::core::CUSTODY_REJECT, dtn::data::MetaBundle::destination, dtn::data::PrimaryBlock::destination, dtn::data::PrimaryBlock::FRAGMENT, dtn::data::BundleID::fragmentoffset, dtn::net::BundleReceivedEvent::fromlocal, dtn::data::PrimaryBlock::get(), dtn::core::CustodyEvent::getAction(), dtn::core::NodeEvent::getAction(), dtn::core::GlobalEvent::getAction(), dtn::core::CustodyEvent::getBundle(), dtn::net::TransferCompletedEvent::getBundle(), dtn::net::TransferAbortedEvent::getBundleID(), dtn::core::Node::getEID(), dtn::net::TransferCompletedEvent::getName(), dtn::net::BundleReceivedEvent::getName(), dtn::routing::QueueBundleEvent::getName(), dtn::net::ConnectionEvent::getName(), dtn::core::CustodyEvent::getName(), dtn::net::TransferAbortedEvent::getName(), dtn::core::NodeEvent::getName(), dtn::core::GlobalEvent::getName(), dtn::core::NodeEvent::getNode(), dtn::net::ConnectionEvent::getNode(), dtn::data::BundleID::getPayloadLength(), dtn::net::TransferCompletedEvent::getPeer(), dtn::net::TransferAbortedEvent::getPeer(), dtn::net::ConnectionEvent::getState(), dtn::data::EID::getString(), dtn::core::GlobalEvent::GLOBAL_BUSY, dtn::core::GlobalEvent::GLOBAL_IDLE, dtn::core::GlobalEvent::GLOBAL_INTERNET_AVAILABLE, dtn::core::GlobalEvent::GLOBAL_INTERNET_UNAVAILABLE, dtn::core::GlobalEvent::GLOBAL_RELOAD, dtn::core::GlobalEvent::GLOBAL_RESUME, dtn::core::GlobalEvent::GLOBAL_SHUTDOWN, dtn::core::GlobalEvent::GLOBAL_START_DISCOVERY, dtn::core::GlobalEvent::GLOBAL_STOP_DISCOVERY, dtn::core::GlobalEvent::GLOBAL_SUSPEND, dtn::data::BundleID::isFragment(), dtn::data::MetaBundle::isFragment(), dtn::data::MetaBundle::lifetime, dtn::data::PrimaryBlock::lifetime, dtn::core::NODE_AVAILABLE, dtn::core::NODE_DATA_ADDED, dtn::core::NODE_DATA_REMOVED, dtn::core::NODE_UNAVAILABLE, dtn::net::BundleReceivedEvent::peer, dtn::data::MetaBundle::procflags, dtn::data::PrimaryBlock::procflags, dtn::data::BundleID::sequencenumber, dtn::data::BundleID::source, dtn::data::BundleID::timestamp, and dtn::data::SDNV< E >::toString().
|
virtual |
Implements dtn::api::ProtocolHandler.
Definition at line 319 of file EventConnection.cpp.
References dtn::api::ProtocolHandler::_stream, dtn::api::ClientHandler::API_STATUS_OK, and dtn::utils::Utils::tokenize().
|
virtual |
Reimplemented from dtn::api::ProtocolHandler.
Definition at line 346 of file EventConnection.cpp.
References dtn::core::EventDispatcher< E >::add().