AsnUpdateCmd Class Reference

EPP AsnUpdate Class. More...

#include <AsnUpdateCmd.H>

Inheritance diagram for AsnUpdateCmd:
Command

List of all members.

Public Member Functions

 AsnUpdateCmd (bool reset=true)
 Default constructor.
void set_asn (const int asn)
 Sets asn.
int get_asn () const
 Returns asn.
void set_organization (const string &organization)
 Sets organization.
string get_organization () const
 Returns organization associated with the asn.
void insert_contact_add (const string &type, const string &identification)
 Inserts a contact to be added.
map< string, string, less
< string > > 
get_contacts_add () const
 Returns map of other contacts to be added.
void insert_contact_rem (const string &type, const string &identification)
 Inserts a contact to be removed.
map< string, string, less
< string > > 
get_contacts_rem () const
 Returns map of other contacts to be removed.
void reset ()
 Reset object attributes.

Protected Attributes

int _asn
 autonomous system number
string _organization
 organization associated with the asn
map< string, string, less
< string > > 
_contacts_add
 contacts to be added
map< string, string, less
< string > > 
_contacts_rem
 contacts to be removed

Detailed Description

EPP AsnUpdate Class.


Member Function Documentation

int AsnUpdateCmd::get_asn (  )  const [inline]

Returns asn.

Returns:
autonomous system number

References _asn.

Referenced by cmd_asn_update().

map< string, string, less<string> > AsnUpdateCmd::get_contacts_add (  )  const [inline]

Returns map of other contacts to be added.

Returns:
map of other contacts

References _contacts_add.

Referenced by cmd_asn_update().

map< string, string, less<string> > AsnUpdateCmd::get_contacts_rem (  )  const [inline]

Returns map of other contacts to be removed.

Returns:
map of other contacts

References _contacts_rem.

Referenced by cmd_asn_update().

string AsnUpdateCmd::get_organization (  )  const [inline]

Returns organization associated with the asn.

Returns:
organization owner of the asn

References _organization.

Referenced by cmd_asn_update().

void AsnUpdateCmd::insert_contact_add ( const string &  type,
const string &  identification 
) [inline]

Inserts a contact to be added.

Parameters:
type contact type
identification contact identification

References _contacts_add.

Referenced by cmd_asn_update().

void AsnUpdateCmd::insert_contact_rem ( const string &  type,
const string &  identification 
) [inline]

Inserts a contact to be removed.

Parameters:
type contact type
identification contact identification

References _contacts_rem.

Referenced by cmd_asn_update().

void AsnUpdateCmd::reset (  )  [inline]

Reset object attributes.

reset attributes

Reimplemented from Command.

References _asn, _contacts_add, _contacts_rem, and _organization.

Referenced by AsnUpdateCmd().

void AsnUpdateCmd::set_asn ( const int  asn  )  [inline]

Sets asn.

Parameters:
asn autonomous system number

References _asn.

Referenced by cmd_asn_update().

void AsnUpdateCmd::set_organization ( const string &  organization  )  [inline]

Sets organization.

Parameters:
organization organization to be associated with the asn

References _organization.

Referenced by cmd_asn_update().


The documentation for this class was generated from the following file:
Generated on Wed Aug 11 16:56:44 2010 for libepp_nicbr by  doxygen 1.6.3