namespace Akenti class AkentiMessage

100-199 Ok messages

200-249 Problems that the client finds : cannot connect to server

250-299 Problems that server finds: wrong request, bad credential
- user needs to fix something
300-399 Permission denied - errors from the Authorizer   
- maps to user as permission denied, 
400-499 Problems in policy collection and verififcation  
500-599 Problems in UseCondition collection and verification
- both map to user as policy is inconsistant
900-999 Programming errors exceptions and errors caught
- maps to user as code is wrong

Public Methods

AkentiMessage ()
constructor -creates null message
AkentiMessage (int code)
constructor -sets code
AkentiMessage (int code, const string& message)
constructor - sets code and message
~AkentiMessage ()
destructor
int getCode () const
Returns the code
const string& getMessage () const
Returns the message
string toString () const
Returns the concatenation of the code and the message
void toXML (DOMElement* mesg) const
void fromXML (const DOMElement* mesg)

Documentation

100-199 Ok messages

200-249 Problems that the client finds : cannot connect to server

250-299 Problems that server finds: wrong request, bad credential
- user needs to fix something
300-399 Permission denied - errors from the Authorizer   
- maps to user as permission denied, 
400-499 Problems in policy collection and verififcation  
500-599 Problems in UseCondition collection and verification
- both map to user as policy is inconsistant
900-999 Programming errors exceptions and errors caught
- maps to user as code is wrong
AkentiMessage()
constructor -creates null message

AkentiMessage(int code)
constructor -sets code

AkentiMessage(int code, const string& message)
constructor - sets code and message

~AkentiMessage()
destructor

int getCode() const
Returns the code

const string& getMessage() const
Returns the message

string toString() const
Returns the concatenation of the code and the message

void toXML(DOMElement* mesg) const

void fromXML(const DOMElement* mesg)


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01

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