libepp_nicbr
Public Member Functions | Protected Attributes | List of all members
AsnInfoRsp Class Reference

EPP AnsInfoRsp Class. More...

#include <AsnInfoRsp.H>

Inheritance diagram for AsnInfoRsp:
Response

Public Member Functions

 AsnInfoRsp (bool reset=true)
 Default constructor.
 
void set_asn (const int asn)
 Sets asn. More...
 
int get_asn () const
 Returns asn. More...
 
void set_roid (const string &roid)
 Sets repository object ID. More...
 
string get_roid () const
 Returns repository object ID. More...
 
void set_organization (const string &organization)
 Sets organization associated with the AS. More...
 
string get_organization () const
 Returns organization associated with the AS. More...
 
void insert_contact (const string &type, const string &identification)
 Inserts a contact in the map of other contacts. More...
 
map< string, string, less< string > > get_contacts ()
 Returns map of other contacts. More...
 
void set_clId (const string &clId)
 Sets sponsoring client. More...
 
string get_clId () const
 Returns sponsoring client. More...
 
void set_crId (const string &crId)
 Sets client that created the AS. More...
 
string get_crId () const
 Returns client that created the AS. More...
 
void set_crDate (const string &crDate)
 Sets date of the AS creation. More...
 
string get_crDate () const
 Returns date of the AS creation. More...
 
void set_exDate (const string &exDate)
 Sets AS's expiration date. More...
 
string get_exDate () const
 Returns AS's expiration date. More...
 
void set_upId (const string &upId)
 Sets last client that updated the AS. More...
 
string get_upId () const
 Returns last client that updated the AS. More...
 
void set_upDate (const string &upDate)
 Sets date of the last update. More...
 
string get_upDate () const
 Returns date of the last update. More...
 
void set_trDate (const string &trDate)
 Sets most recent successful AS object transfer. More...
 
string get_trDate () const
 Returns most recent successful AS object transfer. More...
 
void insert_asIn (const string &policy)
 Inserts an AS input policy. More...
 
vector< string > get_asIn () const
 Returns list of all AS input policies. More...
 
void insert_asOut (const string &policy)
 Inserts an AS output policy. More...
 
vector< string > get_asOut () const
 Returns list of all AS output policies. More...
 
void reset ()
 
- Public Member Functions inherited from Response
 Response (bool reset=true)
 Default constructor.
 
void set_clTRID (const string &clTRID)
 Sets the client transaction ID. More...
 
void set_svTRID (const string &svTRID)
 Sets the server transaction ID. More...
 
void set_result_lang (const string &result_lang)
 Sets the result message language. More...
 
void insert_result (const ResultCode &code, const string &msg, const string &value="", const string &xmlns="", const string &reason="")
 Sets a result element. More...
 
string get_clTRID () const
 Returns the client transaction ID. More...
 
string get_svTRID () const
 Returns the servers transaction ID. More...
 
string get_result_lang ()
 Returns the result message language. More...
 
map< ResultCode, ResultInfoget_result_list () const
 Returns the list of result elements. More...
 
void reset ()
 reset attributes
 
virtual ~Response ()
 virtual destructor
 

Protected Attributes

int _asn
 Autonomous System Number.
 
string _roid
 
string _organization
 
map< string, string, less< string > > _contacts
 identifiers for contact objects associated with the AS object
 
string _clId
 identifier of the sponsoring client
 
string _crId
 identifier of the client that created the AS object
 
string _crDate
 date and time of the AS object creation
 
string _exDate
 date and time identifying the end of the AS object registration period
 
string _upId
 identifier of the client that last updated the AS object
 
string _upDate
 date and time of the most recent AS object modification
 
string _trDate
 most recent successful AS object transfer
 
vector< string > _asIn
 as-in policy
 
vector< string > _asOut
 
- Protected Attributes inherited from Response
string _clTRID
 Client transaction ID.
 
string _svTRID
 Server transaction ID.
 
string _result_lang
 Result language.
 
map< ResultCode, ResultInfo_result_list
 Result elements list.
 

Additional Inherited Members

- Public Types inherited from Response
enum  ResultCode {
  UNSET = -1, OK = 1000, OK_ACTION_PENDING = 1001, OK_NO_MESSAGES = 1300,
  OK_ACK_DEQUEUE = 1301, OK_ENDING_SESSION = 1500, UNKNOWN_COMMAND = 2000, COMMAND_SYNTAX_ERROR = 2001,
  COMMAND_USE_ERROR = 2002, PARAMETER_MISSING = 2003, PARAMETER_RANGE_ERROR = 2004, PARAMETER_SYNTAX_ERROR = 2005,
  UNIMPLEMENTED_VERSION = 2100, UNIMPLEMENTED_COMMAND = 2101, UNIMPLEMENTED_OPTION = 2102, UNIMPLEMENTED_EXTENSION = 2103,
  BILLING_FAILURE = 2104, NOT_RENEWABLE = 2105, NOT_TRANSFERABLE = 2106, AUTHENTICATION_ERROR = 2200,
  AUTHORIZATION_ERROR = 2201, INVALID_AUTHORIZATION_INFO = 2202, PENDING_TRANSFER = 2300, NOT_PENDING_TRANSFER = 2301,
  OBJECT_EXISTS = 2302, OBJECT_DOESNT_EXIST = 2303, STATUS_PROHIBITS_OPERATION = 2304, ASSOCIATION_PROHIBITS_OPERATION = 2305,
  PARAMETER_POLICY_ERROR = 2306, UNIMPLEMENTED_SERVICE = 2307, DATA_MGMT_POLICY_VIOLATION = 2308, COMMAND_FAILED = 2400,
  COMMAND_FAILED_CLOSING_CONN = 2500, AUTHENTICATION_ERROR_CLOSING_CONN = 2501, SESSION_LIMIT_EXCEEDED = 2502
}
 Result Codes - See RFC 3730 - Session 3.
 

Detailed Description

EPP AnsInfoRsp Class.

Member Function Documentation

vector<string> AsnInfoRsp::get_asIn ( ) const
inline

Returns list of all AS input policies.

Returns
list of policies

References _asIn.

int AsnInfoRsp::get_asn ( ) const
inline

Returns asn.

Returns
autonomous system number

References _asn.

vector<string> AsnInfoRsp::get_asOut ( ) const
inline

Returns list of all AS output policies.

Returns
list of policies
string AsnInfoRsp::get_clId ( ) const
inline

Returns sponsoring client.

Returns
identifier of the client that created the AS object

References _clId.

map< string, string, less<string> > AsnInfoRsp::get_contacts ( )
inline

Returns map of other contacts.

Returns
map of other contacts

References _contacts.

string AsnInfoRsp::get_crDate ( ) const
inline

Returns date of the AS creation.

Returns
date and time of the AS object creation

References _crDate.

string AsnInfoRsp::get_crId ( ) const
inline

Returns client that created the AS.

Returns
identifier of the client that created the AS object

References _crId.

string AsnInfoRsp::get_exDate ( ) const
inline

Returns AS's expiration date.

Returns
date and time identifying the end of the AS object registration period

References _exDate.

string AsnInfoRsp::get_organization ( ) const
inline

Returns organization associated with the AS.

Returns
identifier for the organization object associated with the AS object as the AS manager

References _organization.

string AsnInfoRsp::get_roid ( ) const
inline

Returns repository object ID.

Returns
Repository Object IDentifier assigned to the AS object when the it was created

References _roid.

string AsnInfoRsp::get_trDate ( ) const
inline

Returns most recent successful AS object transfer.

Returns
most recent successful AS object transfer

References _trDate.

string AsnInfoRsp::get_upDate ( ) const
inline

Returns date of the last update.

Returns
date and time of the most recent AS object modification

References _upDate.

string AsnInfoRsp::get_upId ( ) const
inline

Returns last client that updated the AS.

Returns
identifier of the client that last updated the AS object

References _upId.

void AsnInfoRsp::insert_asIn ( const string &  policy)
inline

Inserts an AS input policy.

Parameters
policyAS policy

References _asIn.

void AsnInfoRsp::insert_asOut ( const string &  policy)
inline

Inserts an AS output policy.

Parameters
policyAS policy
void AsnInfoRsp::insert_contact ( const string &  type,
const string &  identification 
)
inline

Inserts a contact in the map of other contacts.

Parameters
typecontact type
identificationcontact identification

References _contacts.

void AsnInfoRsp::set_asn ( const int  asn)
inline

Sets asn.

Parameters
asnautonomous system number

References _asn.

void AsnInfoRsp::set_clId ( const string &  clId)
inline

Sets sponsoring client.

Parameters
clIdidentifier of the client that created the AS object

References _clId.

void AsnInfoRsp::set_crDate ( const string &  crDate)
inline

Sets date of the AS creation.

Parameters
crDatedate and time of the AS object creation

References _crDate.

void AsnInfoRsp::set_crId ( const string &  crId)
inline

Sets client that created the AS.

Parameters
crIdidentifier of the client that created the AS object

References _crId.

void AsnInfoRsp::set_exDate ( const string &  exDate)
inline

Sets AS's expiration date.

Parameters
exDatedate and time identifying the end of the AS object registration period

References _exDate.

void AsnInfoRsp::set_organization ( const string &  organization)
inline

Sets organization associated with the AS.

Parameters
organizationidentifier for the organization object associated with the AS object as the AS manager

References _organization.

void AsnInfoRsp::set_roid ( const string &  roid)
inline

Sets repository object ID.

Parameters
roidRepository Object IDentifier assigned to the AS object when the it was created

References _roid.

void AsnInfoRsp::set_trDate ( const string &  trDate)
inline

Sets most recent successful AS object transfer.

Parameters
trDatemost recent successful AS object transfer

References _trDate.

void AsnInfoRsp::set_upDate ( const string &  upDate)
inline

Sets date of the last update.

Parameters
upDatedate and time of the most recent AS object modification

References _upDate.

void AsnInfoRsp::set_upId ( const string &  upId)
inline

Sets last client that updated the AS.

Parameters
upIdidentifier of the client that last updated the AS object

References _upId.

Member Data Documentation

string AsnInfoRsp::_organization
protected

identifier for the organization object associated with the AS object as the AS manager

Referenced by get_organization(), and set_organization().

string AsnInfoRsp::_roid
protected

Repository Object IDentifier assigned to the AS object when the it was created

Referenced by get_roid(), and set_roid().


The documentation for this class was generated from the following file: