#include <DomainInfoCmd.H>
Public Member Functions | |
DomainInfoCmd (bool reset=true) | |
Default constructor. | |
void | set_name (const string &name) |
Sets domain name. | |
string | get_name () const |
Returns domain name. | |
void | set_hosts_control (const string &hosts_control) |
Sets "hosts" attribute which controls return of information describing hosts. | |
string | get_hosts_control () const |
Returns hosts control attribute. | |
void | set_authInfo (const AuthInfo &authInfo) |
Sets authorization information. | |
AuthInfo | get_authInfo () const |
Returns authorization information. | |
void | reset () |
Reset object attributes. | |
Protected Attributes | |
string | _name |
fully qualified domain name | |
string | _hosts_control |
AuthInfo | _authInfo |
authorization information |
AuthInfo DomainInfoCmd::get_authInfo | ( | ) | const [inline] |
Returns authorization information.
References _authInfo.
Referenced by cmd_domain_info().
string DomainInfoCmd::get_hosts_control | ( | ) | const [inline] |
string DomainInfoCmd::get_name | ( | ) | const [inline] |
Returns domain name.
References _name.
Referenced by cmd_domain_info().
void DomainInfoCmd::set_authInfo | ( | const AuthInfo & | authInfo | ) | [inline] |
Sets authorization information.
authInfo | domain authorization information |
References _authInfo.
Referenced by cmd_domain_info().
void DomainInfoCmd::set_hosts_control | ( | const string & | hosts_control | ) | [inline] |
Sets "hosts" attribute which controls return of information describing hosts.
hosts_control | "all" (default), "del", "sub", "none" |
References _hosts_control.
void DomainInfoCmd::set_name | ( | const string & | name | ) | [inline] |
Sets domain name.
name | fully qualified domain name |
References _name.
Referenced by cmd_domain_info().
string DomainInfoCmd::_hosts_control [protected] |
controls return of information describing hosts related to domain object
Referenced by get_hosts_control(), reset(), and set_hosts_control().