class TRIPUpdateMsg : public TRIPMsg

TRIPUpdateMsg

Inheritance:


Public Methods

void addAdvertisePath(Sptr<TRIPAdvertisePath> path)
void addAttribute(Sptr<TRIPRouteAttr> attr)
Add Attribute to the message
void addReachableRoute(Sptr<TRIPReachableRoute> route)
void addRoutedPath(Sptr<TRIPRoutedPath> path)
void addWithdrawnRoute(Sptr<TRIPWithdrawnRoute> route)
void checkSanity() throw(TRIPBadDataException&)
Checks the sanity of TRIP Msg, and throws a Bad Data exception
string className()
virtual void dump(ostream& os)
const Sptr <TRIPAdvertisePath> & getAdvertisePath()
const Sptr <TRIPRouteAttr> & getAtomicAggregate()
const Sptr <TRIPRouteAttr> & getAuthAttr()
const Sptr <TRIPRouteAttr> & getCommunity()
const Sptr <TRIPRouteAttr> & getItadTopology()
const Sptr <TRIPRouteAttr> & getLocalPref()
const Sptr <TRIPRouteAttr> & getMultiExitDisc()
const Sptr <TRIPRouteAttr> & getNextHopServer()
const Sptr <TRIPReachableRoute> & getReachableRoute()
const Sptr <TRIPRoutedPath> & getRoutedPath()
TRIPOpCode getType()
const Sptr <TRIPWithdrawnRoute> & getWithdrawnRoute()
bool hasAtomicAggregate()
bool hasAuthAttr()
bool hasCommunity()
bool hasItadTopology()
bool hasLocalPref()
bool hasMultiExitDisc()
bool isAUpdateMsg()
TRIPUpdateMsg()
void writeData(int id) throw(VNetworkException&)
Writes object to given network socket in network byte order

Private Fields

friend class TRIPMsgParser

Private Methods

void parse(const char* data) throw(TRIPBadDataException&)
void parse(const TRIPHeader& hdr, const char* data) throw(TRIPBadDataException&)

Inherited from TRIPMsg:

Public Methods

const TRIPHeader& getHeader()
u_int16_t getMsgLength()
virtual bool isAKeepAliveMsg()
virtual bool isANotificationMsg()
virtual bool isAOpenMsg()
friend ostream& operator<<(ostream& os, const TRIPMsg&)

Protected Fields

Sptr <TRIPHeader> _hdr

Protected Methods

void parseHeader(const char* data) throw(TRIPBadDataException&)
void setMsgLength(u_int16_t len)

Documentation

TRIPUpdateMsg
TRIPUpdateMsg()

bool isAUpdateMsg()

TRIPOpCode getType()

virtual void dump(ostream& os)

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

string className()

void checkSanity() throw(TRIPBadDataException&)
Checks the sanity of TRIP Msg, and throws a Bad Data exception

const Sptr <TRIPWithdrawnRoute> & getWithdrawnRoute()

const Sptr <TRIPReachableRoute> & getReachableRoute()

const Sptr <TRIPRouteAttr> & getNextHopServer()

const Sptr <TRIPAdvertisePath> & getAdvertisePath()

const Sptr <TRIPRoutedPath> & getRoutedPath()

bool hasAtomicAggregate()

const Sptr <TRIPRouteAttr> & getAtomicAggregate()

bool hasLocalPref()

const Sptr <TRIPRouteAttr> & getLocalPref()

bool hasCommunity()

const Sptr <TRIPRouteAttr> & getCommunity()

bool hasMultiExitDisc()

const Sptr <TRIPRouteAttr> & getMultiExitDisc()

bool hasItadTopology()

const Sptr <TRIPRouteAttr> & getItadTopology()

bool hasAuthAttr()

const Sptr <TRIPRouteAttr> & getAuthAttr()

void addAttribute(Sptr<TRIPRouteAttr> attr)
Add Attribute to the message

void addWithdrawnRoute(Sptr<TRIPWithdrawnRoute> route)

void addReachableRoute(Sptr<TRIPReachableRoute> route)

void addAdvertisePath(Sptr<TRIPAdvertisePath> path)

void addRoutedPath(Sptr<TRIPRoutedPath> path)

void parse(const TRIPHeader& hdr, const char* data) throw(TRIPBadDataException&)

void parse(const char* data) throw(TRIPBadDataException&)

friend class TRIPMsgParser


This class has no child classes.

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