IBR-DTNSuite  0.8
dtn::streams::StreamConnection::Callback Class Reference

#include <StreamConnection.h>

Inheritance diagram for dtn::streams::StreamConnection::Callback:

List of all members.

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

Detailed Description

Definition at line 81 of file StreamConnection.h.


Member Function Documentation

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.

This method is called if a bundle is refused by the peer.

Implemented in dtn::api::Client, dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.

This method is called if a bundle is refused by the peer.

Implemented in dtn::api::Client, dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.

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().

This method is called if a handshake was successful.

Parameters:
header

Implemented in dtn::api::Client, dtn::net::TCPConnection, and dtn::api::BinaryStreamClient.

Referenced by dtn::streams::StreamConnection::handshake().

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().

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().

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().


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