18#ifndef _LOG4CXX_HELPER_INETADDRESS_H
19#define _LOG4CXX_HELPER_INETADDRESS_H
86 LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR(InetAddressPrivate, m_priv)
Exception(const char *msg)
Definition inetaddress.h:44
static InetAddressPtr getByName(const LogString &host)
Determines the IP address of a host, given the host's name.
InetAddress(const LogString &hostName, const LogString &hostAddr)
static InetAddressPtr anyAddress()
Returns an InetAddress which can be used as any address, for example when listening on a port from an...
static InetAddressList getAllByName(const LogString &host)
Determines all the IP addresses of a host, given the host's name.
LogString getHostName() const
Gets the host name for this IP address.
LogString getHostAddress() const
Returns the IP address string "%d.%d.%d.%d".
static InetAddressPtr getLocalHost()
Returns the local host.
LogString toString() const
Converts this IP address to a String.
base class for java-like objects.
Definition object.h:106
UnknownHostException & operator=(const UnknownHostException &src)
UnknownHostException(const LogString &msg)
UnknownHostException(const UnknownHostException &src)
LOG4CXX_LIST_DEF(ByteList, unsigned char)
std::basic_string< logchar > LogString
Definition logstring.h:60
#define LOG4CXX_CAST_ENTRY(Interface)
Definition object.h:158
#define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition object.h:39
#define END_LOG4CXX_CAST_MAP()
Definition object.h:152
#define BEGIN_LOG4CXX_CAST_MAP()
Definition object.h:146