class TRIPPathContainer : public TRIPRouteAttr

TRIPPathContainer

Inheritance:


Public Fields

typedef vector <TRIPItadPathSegment > PathSegmentList

Public Methods

virtual void dump(ostream& os)
const PathSegmentList& getPathSegments()
TRIPPathContainer& operator<<(const TRIPItadPathSegment& data)
TRIPPathContainer& operator=(const TRIPPathContainer& other)
TRIPPathContainer(const TRIPPathContainer& other)
virtual void writeData(int id) throw(VNetworkException&)
Writes object to given network socket in network byte order

Protected Fields

u_int16_t _len
PathSegmentList _segmentList
friend class TRIPUpdateMsg

Protected Methods

void addPathSegment(const TRIPItadPathSegment& data)
void copyObj(const TRIPPathContainer& other)
void parsePathSegments(const char* buf, u_int16_t len)
TRIPPathContainer(const char* buf) throw(TRIPBadDataException&)
TRIPPathContainer(u_int8_t flg, TRIPAttrTypeFlag type)
Create a normal attribute
TRIPPathContainer(u_int8_t flg, TRIPAttrTypeFlag type, const TRIPId& id, u_int32_t seqNum)
Create a link-state attribute

Inherited from TRIPRouteAttr:

Public Methods

u_int16_t getLength()

Protected Fields

Sptr <TRIPAttrHeader> _hdr

Protected Methods

void setLength(u_int16_t len)

Documentation

TRIPPathContainer
typedef vector <TRIPItadPathSegment > PathSegmentList

TRIPPathContainer(const TRIPPathContainer& other)

TRIPPathContainer& operator=(const TRIPPathContainer& other)

const PathSegmentList& getPathSegments()

TRIPPathContainer& operator<<(const TRIPItadPathSegment& data)

virtual void dump(ostream& os)

virtual void writeData(int id) throw(VNetworkException&)
Writes object to given network socket in network byte order

void addPathSegment(const TRIPItadPathSegment& data)

TRIPPathContainer(u_int8_t flg, TRIPAttrTypeFlag type)
Create a normal attribute

TRIPPathContainer(u_int8_t flg, TRIPAttrTypeFlag type, const TRIPId& id, u_int32_t seqNum)
Create a link-state attribute

void parsePathSegments(const char* buf, u_int16_t len)

TRIPPathContainer(const char* buf) throw(TRIPBadDataException&)

void copyObj(const TRIPPathContainer& other)

PathSegmentList _segmentList

u_int16_t _len

friend class TRIPUpdateMsg


Direct child classes:
TRIPRoutedPath
TRIPAdvertisePath

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de