activemq-cpp-3.6.0
|
#include <src/main/decaf/net/Inet6Address.h>
Public Member Functions | |
virtual | ~Inet6Address () |
virtual InetAddress * | clone () const |
Returns a newly allocated copy of this InetAddress. | |
![]() | |
virtual | ~InetAddress () |
virtual decaf::lang::ArrayPointer < unsigned char > | getAddress () const |
Returns the Raw IP address in Network byte order. | |
virtual std::string | getHostAddress () const |
Returns a textual representation of the IP Address. | |
virtual std::string | getHostName () const |
Get the host name associated with this InetAddress instance. | |
virtual std::string | toString () const |
Returns a string representation of the InetAddress in the form 'hostname / ipaddress'. | |
virtual bool | isAnyLocalAddress () const |
Check if this InetAddress is a valid wildcard address. | |
virtual bool | isLoopbackAddress () const |
Check if this InetAddress is a valid loopback address. | |
virtual bool | isMulticastAddress () const |
Check if this InetAddress is a valid Multicast address. | |
virtual bool | isLinkLocalAddress () const |
Check if this InetAddress is a valid link local address. | |
virtual bool | isSiteLocalAddress () const |
Check if this InetAddress is a valid site local address. | |
virtual bool | isMCGlobal () const |
Check if this InetAddress is Multicast and has Global scope. | |
virtual bool | isMCNodeLocal () const |
Check if this InetAddress is Multicast and has Node Local scope. | |
virtual bool | isMCLinkLocal () const |
Check if this InetAddress is Multicast and has Link Local scope. | |
virtual bool | isMCSiteLocal () const |
Check if this InetAddress is Multicast and has Site Local scope. | |
virtual bool | isMCOrgLocal () const |
Check if this InetAddress is Multicast and has Organization scope. |
Protected Member Functions | |
Inet6Address () | |
Inet6Address (const unsigned char *ipAddress, int numBytes) | |
Inet6Address (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. | |
static InetAddress | getByAddress (const std::string &hostname, const unsigned char *bytes, int numBytes) |
Given a host name and IPAddress return a new InetAddress. | |
static InetAddress | getLocalHost () |
Gets an InetAddress that is the local host address. | |
![]() | |
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. | |
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.
|
friend |