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

EPP AsnUpdate Class. More...

#include <AsnUpdateCmd.H>

Inheritance diagram for AsnUpdateCmd:
Command

Public Member Functions

 AsnUpdateCmd (bool reset=true)
 Default constructor.
 
void set_asn (const int asn)
 Sets asn. More...
 
int get_asn () const
 Returns asn. More...
 
void set_organization (const string &organization)
 Sets organization. More...
 
string get_organization () const
 Returns organization associated with the asn. More...
 
void set_creation_date (const string &creation_date)
 
string get_creation_date () const
 
void insert_contact_add (const string &type, const string &identification)
 Inserts a contact to be added. More...
 
map< string, string, less< string > > get_contacts_add () const
 Returns map of other contacts to be added. More...
 
void insert_contact_rem (const string &type, const string &identification)
 Inserts a contact to be removed. More...
 
map< string, string, less< string > > get_contacts_rem () const
 Returns map of other contacts to be removed. More...
 
void insert_as_in_add (const string &policy)
 Inserts an AS input policy to be added. More...
 
vector< string > get_as_in_add () const
 Returns list of all AS input policies to be added. More...
 
void insert_as_in_rem (const string &policy)
 Inserts an AS input policy to be removed. More...
 
vector< string > get_as_in_rem () const
 Returns list of all AS input policies to be removed. More...
 
void insert_as_out_add (const string &policy)
 Inserts an AS output policy to be added. More...
 
vector< string > get_as_out_add () const
 Returns list of all AS output policies to be added. More...
 
void insert_as_out_rem (const string &policy)
 Inserts an AS output policy to be removed. More...
 
vector< string > get_as_out_rem () const
 Returns list of all AS output policies to be removed. More...
 
void reset ()
 
- Public Member Functions inherited from Command
 Command (bool reset=true)
 Default constructor.
 
void reset ()
 Reset object attributes. More...
 
virtual ~Command ()
 virtual destructor
 
void set_clTRID (const string &clTRID)
 Sets clTRID. More...
 
string get_clTRID () const
 Returns clTRID. More...
 

Protected Attributes

int _asn
 autonomous system number
 
string _organization
 organization associated with the asn
 
string _creation_date
 object creation date
 
map< string, string, less< string > > _contacts_add
 contacts to be added
 
map< string, string, less< string > > _contacts_rem
 contacts to be removed
 
vector< string > _as_in_add
 as-in policy to be added
 
vector< string > _as_in_rem
 as-in policy to be removed
 
vector< string > _as_out_add
 
vector< string > _as_out_rem
 
- Protected Attributes inherited from Command
string _clTRID
 Client Transaction ID.
 

Detailed Description

EPP AsnUpdate Class.

Member Function Documentation

vector<string> AsnUpdateCmd::get_as_in_add ( ) const
inline

Returns list of all AS input policies to be added.

Returns
list of policies

References _as_in_add.

Referenced by cmd_asn_update().

vector<string> AsnUpdateCmd::get_as_in_rem ( ) const
inline

Returns list of all AS input policies to be removed.

Returns
list of policies

References _as_in_rem.

Referenced by cmd_asn_update().

vector<string> AsnUpdateCmd::get_as_out_add ( ) const
inline

Returns list of all AS output policies to be added.

Returns
list of policies
vector<string> AsnUpdateCmd::get_as_out_rem ( ) const
inline

Returns list of all AS output policies to be removed.

Returns
list of policies
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_as_in_add ( const string &  policy)
inline

Inserts an AS input policy to be added.

Parameters
policyAS policy

References _as_in_add.

Referenced by cmd_asn_update().

void AsnUpdateCmd::insert_as_in_rem ( const string &  policy)
inline

Inserts an AS input policy to be removed.

Parameters
policyAS policy

References _as_in_rem.

Referenced by cmd_asn_update().

void AsnUpdateCmd::insert_as_out_add ( const string &  policy)
inline

Inserts an AS output policy to be added.

Parameters
policyAS policy

Referenced by cmd_asn_update().

void AsnUpdateCmd::insert_as_out_rem ( const string &  policy)
inline

Inserts an AS output policy to be removed.

Parameters
policyAS policy

Referenced by cmd_asn_update().

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

Inserts a contact to be added.

Parameters
typecontact type
identificationcontact 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
typecontact type
identificationcontact identification

References _contacts_rem.

Referenced by cmd_asn_update().

void AsnUpdateCmd::set_asn ( const int  asn)
inline

Sets asn.

Parameters
asnautonomous system number

References _asn.

Referenced by cmd_asn_update().

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

Sets organization.

Parameters
organizationorganization to be associated with the asn

References _organization.

Referenced by cmd_asn_update().


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