activemq-cpp-3.4.0

decaf::net::Inet4Address Class Reference

#include <src/main/decaf/net/Inet4Address.h>

Inheritance diagram for decaf::net::Inet4Address:

Public Member Functions

virtual ~Inet4Address ()
virtual InetAddressclone () const
 Returns a newly allocated copy of this InetAddress.
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

 Inet4Address ()
 Inet4Address (const unsigned char *ipAddress, int numBytes)
 Inet4Address (const std::string &hostname, const unsigned char *ipAddress, int numBytes)

Friends

class InetAddress

Constructor & Destructor Documentation

decaf::net::Inet4Address::Inet4Address ( ) [protected]
decaf::net::Inet4Address::Inet4Address ( const unsigned char *  ipAddress,
int  numBytes 
) [protected]
decaf::net::Inet4Address::Inet4Address ( const std::string &  hostname,
const unsigned char *  ipAddress,
int  numBytes 
) [protected]
virtual decaf::net::Inet4Address::~Inet4Address ( ) [virtual]

Member Function Documentation

virtual InetAddress* decaf::net::Inet4Address::clone ( ) const [virtual]

Returns a newly allocated copy of this InetAddress.

The caller owns the resulting copy and must delete it.

Returns:
a new InetAddress instance that is a copy of this one, caller owns.

Reimplemented from decaf::net::InetAddress.

virtual bool decaf::net::Inet4Address::isAnyLocalAddress ( ) const [virtual]

Check if this InetAddress is a valid wildcard address.

Returns:
true if the address is a wildcard address.

Reimplemented from decaf::net::InetAddress.

virtual bool decaf::net::Inet4Address::isLinkLocalAddress ( ) const [virtual]

Check if this InetAddress is a valid link local address.

Returns:
true if the address is a link local address.

Reimplemented from decaf::net::InetAddress.

virtual bool decaf::net::Inet4Address::isLoopbackAddress ( ) const [virtual]

Check if this InetAddress is a valid loopback address.

Returns:
true if the address is a loopback address.

Reimplemented from decaf::net::InetAddress.

virtual bool decaf::net::Inet4Address::isMCGlobal ( ) const [virtual]

Check if this InetAddress is Multicast and has Global scope.

Returns:
true if the address is Multicast and has Global scope.

Reimplemented from decaf::net::InetAddress.

virtual bool decaf::net::Inet4Address::isMCLinkLocal ( ) const [virtual]

Check if this InetAddress is Multicast and has Link Local scope.

Returns:
true if the address is Multicast and has Link Local scope.

Reimplemented from decaf::net::InetAddress.

virtual bool decaf::net::Inet4Address::isMCNodeLocal ( ) const [virtual]

Check if this InetAddress is Multicast and has Node Local scope.

Returns:
true if the address is Multicast and has Node Local scope.

Reimplemented from decaf::net::InetAddress.

virtual bool decaf::net::Inet4Address::isMCOrgLocal ( ) const [virtual]

Check if this InetAddress is Multicast and has Organization scope.

Returns:
true if the address is Multicast and has Organization scope.

Reimplemented from decaf::net::InetAddress.

virtual bool decaf::net::Inet4Address::isMCSiteLocal ( ) const [virtual]

Check if this InetAddress is Multicast and has Site Local scope.

Returns:
true if the address is Multicast and has Site Local scope.

Reimplemented from decaf::net::InetAddress.

virtual bool decaf::net::Inet4Address::isMulticastAddress ( ) const [virtual]

Check if this InetAddress is a valid Multicast address.

Returns:
true if the address is a Multicast address.

Reimplemented from decaf::net::InetAddress.

virtual bool decaf::net::Inet4Address::isSiteLocalAddress ( ) const [virtual]

Check if this InetAddress is a valid site local address.

Returns:
true if the address is a site local address.

Reimplemented from decaf::net::InetAddress.


Friends And Related Function Documentation

friend class InetAddress [friend]

The documentation for this class was generated from the following file: