IBR-DTNSuite
0.8
|
#include <StreamConnection.h>
Public Member Functions | |
virtual void | eventShutdown (StreamConnection::ConnectionShutdownCases csc)=0 |
virtual void | eventTimeout ()=0 |
virtual void | eventError ()=0 |
virtual void | eventBundleRefused ()=0 |
virtual void | eventBundleForwarded ()=0 |
virtual void | eventBundleAck (size_t ack)=0 |
virtual void | eventConnectionUp (const StreamContactHeader &header)=0 |
virtual void | eventConnectionDown ()=0 |
Definition at line 81 of file StreamConnection.h.
virtual void dtn::streams::StreamConnection::Callback::eventBundleAck | ( | size_t | ack | ) | [pure virtual] |
This method is called if a ACK is received.
Implemented in dtn::api::Client, dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.
virtual void dtn::streams::StreamConnection::Callback::eventBundleForwarded | ( | ) | [pure virtual] |
This method is called if a bundle is refused by the peer.
Implemented in dtn::api::Client, dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.
virtual void dtn::streams::StreamConnection::Callback::eventBundleRefused | ( | ) | [pure virtual] |
This method is called if a bundle is refused by the peer.
Implemented in dtn::api::Client, dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.
virtual void dtn::streams::StreamConnection::Callback::eventConnectionDown | ( | ) | [pure virtual] |
This method is called if a connection went down.
Implemented in dtn::api::Client, dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.
Referenced by dtn::streams::StreamConnection::shutdown().
virtual void dtn::streams::StreamConnection::Callback::eventConnectionUp | ( | const StreamContactHeader & | header | ) | [pure virtual] |
This method is called if a handshake was successful.
header |
Implemented in dtn::api::Client, dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.
Referenced by dtn::streams::StreamConnection::handshake().
virtual void dtn::streams::StreamConnection::Callback::eventError | ( | ) | [pure virtual] |
This method is called if a error occured in the stream.
Implemented in dtn::api::Client, dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.
Referenced by dtn::streams::StreamConnection::shutdown().
virtual void dtn::streams::StreamConnection::Callback::eventShutdown | ( | StreamConnection::ConnectionShutdownCases | csc | ) | [pure virtual] |
This method is called if a SHUTDOWN message is received.
Implemented in dtn::api::Client, dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.
Referenced by dtn::streams::StreamConnection::shutdown().
virtual void dtn::streams::StreamConnection::Callback::eventTimeout | ( | ) | [pure virtual] |
This method is called if the stream is closed by a TIMEOUT.
Implemented in dtn::api::Client, dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.
Referenced by dtn::streams::StreamConnection::shutdown().