|
IBR-DTNSuite 0.6
|
#include <StreamContactHeader.h>

Public Types | |
| enum | HEADER_BITS { REQUEST_ACKNOWLEDGMENTS = 1 << 0, REQUEST_FRAGMENTATION = 1 << 1, REQUEST_NEGATIVE_ACKNOWLEDGMENTS = 1 << 2 } |
Public Member Functions | |
| StreamContactHeader () | |
| StreamContactHeader (EID localeid) | |
| virtual | ~StreamContactHeader () |
| StreamContactHeader & | operator= (const StreamContactHeader &other) |
| const EID | getEID () const |
Public Attributes | |
| EID | _localeid |
| char | _flags |
| u_int16_t | _keepalive |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const StreamContactHeader &h) |
| std::istream & | operator>> (std::istream &stream, StreamContactHeader &h) |
Definition at line 27 of file StreamContactHeader.h.
Definition at line 30 of file StreamContactHeader.h.
| dtn::streams::StreamContactHeader::StreamContactHeader | ( | ) |
Definition at line 21 of file StreamContactHeader.cpp.
| dtn::streams::StreamContactHeader::StreamContactHeader | ( | EID | localeid | ) |
Definition at line 26 of file StreamContactHeader.cpp.
| dtn::streams::StreamContactHeader::~StreamContactHeader | ( | ) | [virtual] |
Definition at line 31 of file StreamContactHeader.cpp.
| const EID dtn::streams::StreamContactHeader::getEID | ( | ) | const |
Definition at line 43 of file StreamContactHeader.cpp.
References _localeid.
| StreamContactHeader & dtn::streams::StreamContactHeader::operator= | ( | const StreamContactHeader & | other | ) |
Definition at line 35 of file StreamContactHeader.cpp.
References _flags, _keepalive, and _localeid.
| std::ostream& operator<< | ( | std::ostream & | stream, |
| const StreamContactHeader & | h | ||
| ) | [friend] |
Definition at line 48 of file StreamContactHeader.cpp.
| std::istream& operator>> | ( | std::istream & | stream, |
| StreamContactHeader & | h | ||
| ) | [friend] |
Definition at line 63 of file StreamContactHeader.cpp.
Definition at line 46 of file StreamContactHeader.h.
Referenced by dtn::streams::StreamConnection::handshake(), dtn::streams::operator<<(), operator=(), and dtn::streams::operator>>().
Definition at line 47 of file StreamContactHeader.h.
Referenced by dtn::streams::StreamConnection::handshake(), dtn::streams::operator<<(), operator=(), and dtn::streams::operator>>().
Definition at line 45 of file StreamContactHeader.h.
Referenced by dtn::api::ClientHandler::eventConnectionUp(), getEID(), dtn::streams::operator<<(), operator=(), and dtn::streams::operator>>().