activemq-cpp-3.9.0
|
#include <src/main/decaf/net/Inet4Address.h>
Public Member Functions | |
virtual | ~Inet4Address () |
virtual InetAddress * | clone () const |
Returns a newly allocated copy of this InetAddress. More... | |
virtual bool | isAnyLocalAddress () const |
Check if this InetAddress is a valid wildcard address. More... | |
virtual bool | isLoopbackAddress () const |
Check if this InetAddress is a valid loopback address. More... | |
virtual bool | isMulticastAddress () const |
Check if this InetAddress is a valid Multicast address. More... | |
virtual bool | isLinkLocalAddress () const |
Check if this InetAddress is a valid link local address. More... | |
virtual bool | isSiteLocalAddress () const |
Check if this InetAddress is a valid site local address. More... | |
virtual bool | isMCGlobal () const |
Check if this InetAddress is Multicast and has Global scope. More... | |
virtual bool | isMCNodeLocal () const |
Check if this InetAddress is Multicast and has Node Local scope. More... | |
virtual bool | isMCLinkLocal () const |
Check if this InetAddress is Multicast and has Link Local scope. More... | |
virtual bool | isMCSiteLocal () const |
Check if this InetAddress is Multicast and has Site Local scope. More... | |
virtual bool | isMCOrgLocal () const |
Check if this InetAddress is Multicast and has Organization scope. More... | |
![]() | |
virtual | ~InetAddress () |
virtual decaf::lang::ArrayPointer < unsigned char > | getAddress () const |
Returns the Raw IP address in Network byte order. More... | |
virtual std::string | getHostAddress () const |
Returns a textual representation of the IP Address. More... | |
virtual std::string | getHostName () const |
Get the host name associated with this InetAddress instance. More... | |
virtual std::string | toString () const |
Returns a string representation of the InetAddress in the form 'hostname / ipaddress'. More... | |
Protected Member Functions | |
Inet4Address () | |
Inet4Address (const unsigned char *ipAddress, int numBytes) | |
Inet4Address (const std::string &hostname, const unsigned char *ipAddress, int numBytes) | |
![]() | |
InetAddress () | |
InetAddress (const unsigned char *ipAddress, int numBytes) | |
InetAddress (const std::string &hostname, const unsigned char *ipAddress, int numBytes) | |
Friends | |
class | InetAddress |
Additional Inherited Members | |
![]() | |
static InetAddress | getByAddress (const unsigned char *bytes, int numBytes) |
Given a raw IP Address in byte array form, create and return a new InetAddress instance. More... | |
static InetAddress | getByAddress (const std::string &hostname, const unsigned char *bytes, int numBytes) |
Given a host name and IPAddress return a new InetAddress. More... | |
static InetAddress | getLocalHost () |
Gets an InetAddress that is the local host address. More... | |
![]() | |
static unsigned int | bytesToInt (const unsigned char *bytes, int start) |
Converts the bytes in an address array to an int starting from the value start treating the start value as the high order byte. More... | |
static InetAddress | getAnyAddress () |
static InetAddress | getLoopbackAddress () |
![]() | |
std::string | hostname |
bool | reached |
decaf::lang::ArrayPointer < unsigned char > | addressBytes |
![]() | |
static const unsigned char | loopbackBytes [4] |
static const unsigned char | anyBytes [4] |
|
protected |
|
protected |
|
protected |
|
virtual |
|
virtual |
Returns a newly allocated copy of this InetAddress.
The caller owns the resulting copy and must delete it.
Reimplemented from decaf::net::InetAddress.
|
virtual |
Check if this InetAddress is a valid wildcard address.
Reimplemented from decaf::net::InetAddress.
|
virtual |
Check if this InetAddress is a valid link local address.
Reimplemented from decaf::net::InetAddress.
|
virtual |
Check if this InetAddress is a valid loopback address.
Reimplemented from decaf::net::InetAddress.
|
virtual |
Check if this InetAddress is Multicast and has Global scope.
Reimplemented from decaf::net::InetAddress.
|
virtual |
Check if this InetAddress is Multicast and has Link Local scope.
Reimplemented from decaf::net::InetAddress.
|
virtual |
Check if this InetAddress is Multicast and has Node Local scope.
Reimplemented from decaf::net::InetAddress.
|
virtual |
Check if this InetAddress is Multicast and has Organization scope.
Reimplemented from decaf::net::InetAddress.
|
virtual |
Check if this InetAddress is Multicast and has Site Local scope.
Reimplemented from decaf::net::InetAddress.
|
virtual |
Check if this InetAddress is a valid Multicast address.
Reimplemented from decaf::net::InetAddress.
|
virtual |
Check if this InetAddress is a valid site local address.
Reimplemented from decaf::net::InetAddress.
|
friend |