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

EPP AsnCreate Class. More...

#include <AsnCreateCmd.H>

Inheritance diagram for AsnCreateCmd:
Command

Public Member Functions

 AsnCreateCmd (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 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 () const
 Returns map of other contacts. More...
 
void insert_as_in (const string &as_in)
 
vector< string > get_as_in () const
 Returns input routing policy. More...
 
void insert_as_out (const string &as_out)
 Sets output routing policy. More...
 
vector< string > get_as_out () const
 Returns output routing policy. 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
 
map< string, string, less< string > > _contacts
 other contact objects
 
vector< string > _as_in
 input routing policy
 
vector< string > _as_out
 output routing policy
 
- Protected Attributes inherited from Command
string _clTRID
 Client Transaction ID.
 

Detailed Description

EPP AsnCreate Class.

Member Function Documentation

vector<string> AsnCreateCmd::get_as_in ( ) const
inline

Returns input routing policy.

Returns
input routing policy

References _as_in.

vector<string> AsnCreateCmd::get_as_out ( ) const
inline

Returns output routing policy.

Returns
output routing policy

References _as_out.

int AsnCreateCmd::get_asn ( ) const
inline

Returns asn.

Returns
autonomous system number

References _asn.

Referenced by cmd_asn_create().

map< string, string, less<string> > AsnCreateCmd::get_contacts ( ) const
inline

Returns map of other contacts.

Returns
map of other contacts

References _contacts.

Referenced by cmd_asn_create().

string AsnCreateCmd::get_organization ( ) const
inline

Returns organization associated with the asn.

Returns
organization owner of the asn

References _organization.

Referenced by cmd_asn_create().

void AsnCreateCmd::insert_as_out ( const string &  as_out)
inline

Sets output routing policy.

Parameters
as_outoutput routing policy

References _as_out.

Referenced by cmd_asn_create().

void AsnCreateCmd::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.

Referenced by cmd_asn_create().

void AsnCreateCmd::set_asn ( const int  asn)
inline

Sets asn.

Parameters
asnautonomous system number

References _asn.

Referenced by cmd_asn_create().

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

Sets organization.

Parameters
organizationorganization to be associated with the asn

References _organization.

Referenced by cmd_asn_create().


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