ACE_INet
6.1.1
|
#include <URLBase.h>
Public Member Functions | |
URL_INetBase (u_short port) | |
virtual | ~URL_INetBase () |
void | set_host (const ACE_CString &host) |
void | set_port (u_short port) |
const ACE_CString & | get_host () const |
u_short | get_port () const |
virtual u_short | default_port () const =0 |
virtual ACE_CString | get_authority () const |
virtual bool | validate () |
Protected Member Functions | |
virtual int | parse_authority (std::istream &is) |
virtual bool | has_authority () |
int | parse_authority_i (std::istream &is, std::ostream &os, int lastch) |
Private Attributes | |
ACE_CString | host_ |
u_short | port_ |
ACE::INet::URL_INetBase::URL_INetBase | ( | u_short | port | ) |
ACE::INet::URL_INetBase::~URL_INetBase | ( | ) | [virtual] |
virtual u_short ACE::INet::URL_INetBase::default_port | ( | ) | const [pure virtual] |
Implemented in ACE::HTTP::URL, ACE::FTP::URL, and ACE::HTTPS::URL.
ACE_CString ACE::INet::URL_INetBase::get_authority | ( | ) | const [virtual] |
Reimplemented from ACE::INet::URL_Base.
Reimplemented in ACE::INet::URL_INetAuthBase.
const ACE_CString & ACE::INet::URL_INetBase::get_host | ( | ) | const [inline] |
u_short ACE::INet::URL_INetBase::get_port | ( | ) | const [inline] |
bool ACE::INet::URL_INetBase::has_authority | ( | ) | [protected, virtual] |
Reimplemented from ACE::INet::URL_Base.
int ACE::INet::URL_INetBase::parse_authority | ( | std::istream & | is | ) | [protected, virtual] |
Reimplemented from ACE::INet::URL_Base.
Reimplemented in ACE::INet::URL_INetAuthBase.
int ACE::INet::URL_INetBase::parse_authority_i | ( | std::istream & | is, |
std::ostream & | os, | ||
int | lastch | ||
) | [protected] |
void ACE::INet::URL_INetBase::set_host | ( | const ACE_CString & | host | ) | [inline] |
void ACE::INet::URL_INetBase::set_port | ( | u_short | port | ) | [inline] |
bool ACE::INet::URL_INetBase::validate | ( | ) | [virtual] |
Reimplemented from ACE::INet::URL_Base.
ACE_CString ACE::INet::URL_INetBase::host_ [private] |
u_short ACE::INet::URL_INetBase::port_ [private] |