xorp

ParsedFinderXrlResponse Class Reference

Parses finder protocol messages into Xrl responses. More...

#include <finder_msgs.hh>

Inheritance diagram for ParsedFinderXrlResponse:
ParsedFinderMessageBase

List of all members.

Public Member Functions

 ParsedFinderXrlResponse (const char *data) throw (BadFinderMessageFormat, WrongFinderMessageType, InvalidString)
 Constructor for received Xrl Response messages.
const XrlErrorxrl_error () const
XrlArgsxrl_args () const

Private Attributes

XrlError _xrl_error
XrlArgs_xrl_args

Detailed Description

Parses finder protocol messages into Xrl responses.


Constructor & Destructor Documentation

ParsedFinderXrlResponse::ParsedFinderXrlResponse ( const char *  data) throw (BadFinderMessageFormat, WrongFinderMessageType, InvalidString)

Constructor for received Xrl Response messages.

Attempts to extract Xrl Reponse from data.

Exceptions:
BadFinderMessageFormatwhen bad packet data received.
WrongFinderMessageTypeif message is not a Finder Xrl Response Message.
InvalidStringif the data within the Xrl Response message could not be rendered as an Xrl.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations