IBR-DTNSuite
0.12
|
#include <StreamConnection.h>
Public Member Functions | |
virtual void | eventShutdown (StreamConnection::ConnectionShutdownCases csc)=0 throw () |
virtual void | eventTimeout ()=0 throw () |
virtual void | eventError ()=0 throw () |
virtual void | eventBundleRefused ()=0 throw () |
virtual void | eventBundleForwarded ()=0 throw () |
virtual void | eventBundleAck (const dtn::data::Length &ack)=0 throw () |
virtual void | eventConnectionUp (const StreamContactHeader &header)=0 throw () |
virtual void | eventConnectionDown ()=0 throw () |
virtual void | addTrafficIn (size_t) throw () |
virtual void | addTrafficOut (size_t) throw () |
Definition at line 96 of file StreamConnection.h.
|
inlinevirtual |
Reports inbound traffic amount
Reimplemented in dtn::net::TCPConnection.
Definition at line 143 of file StreamConnection.h.
|
inlinevirtual |
Reports outbound traffic amount
Reimplemented in dtn::net::TCPConnection.
Definition at line 148 of file StreamConnection.h.
|
pure virtual |
This method is called if a ACK is received.
Implemented in dtn::api::Client, dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.
|
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.
|
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.
|
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().
|
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().
|
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().
|
pure virtual |
This method is called if a SHUTDOWN message is received.
Implemented in dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.
Referenced by dtn::streams::StreamConnection::shutdown().
|
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().