artefaktur
software engineer &        architecture

 
 
 
 

class InetAddress

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::net::InetAddress Class Reference

#include <InetAddress.h>

Inheritance diagram for acdk::net::InetAddress:

acdk::lang::Object acdk::io::Serializable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Wrapper for Internet Address.

API: Java

Author:
Roger Rene Kommer, Maximilian Thoran
Version:
Revision
1.13
Date:
Date
2005/04/30 15:56:23


Public Member Functions

 InetAddress (IN(RbyteArray) ipaddr, IN(RString) hostname=Nil)
 liefert die Addresse in Network Byte Order zurueck ( benutzt htonl )

 InetAddress (int ipaddr, IN(RString) hostname=Nil)
virtual bool equals (IN(acdk::lang::Object) obj)
 expects ip nummer in the format xxx.xxx.xxx.xxx

virtual bool equals (IN(RInetAddress) other)
virtual RbyteArray getAddress ()
virtual RString getHostAddress ()
virtual RString getHostName ()
virtual int hashCode ()
virtual RString toString ()
 return a string representation of this object Object::toString() return getName() by default

virtual bool isMulticastAddress ()
bytegetData ()

Static Public Member Functions

RInetAddressArray getAllByName (IN(RString) host)
RInetAddress getByName (IN(RString) host)
RString getLocalHostName ()
 returns local or localhost

RInetAddress getLocalHost ()
 return the inet address of localhost

RInetAddress getNullHost ()
 return '0.0.0.0'

RInetAddress getWildcardHost ()
RInetAddress getAnyAddress ()
 returns INADDR_ANY

RString getDefaultHostName ()
 return the default host name of the local machine

RInetAddress getDefaultHost ()
 return the default address of the local machine


Protected Attributes

RbyteArray _ipNumber
RString _hostname

Constructor & Destructor Documentation

acdk::net::InetAddress::InetAddress IN(RbyteArray ipaddr,
IN(RString hostname = Nil
 

liefert die Addresse in Network Byte Order zurueck ( benutzt htonl )

acdk::net::InetAddress::InetAddress int  ipaddr,
IN(RString hostname = Nil
 


Member Function Documentation

virtual bool acdk::net::InetAddress::equals IN(RInetAddress other  )  [virtual]
 

virtual bool acdk::net::InetAddress::equals IN(acdk::lang::Object obj  )  [virtual]
 

expects ip nummer in the format xxx.xxx.xxx.xxx

Reimplemented from acdk::lang::Object.

virtual RbyteArray acdk::net::InetAddress::getAddress  )  [virtual]
 

RInetAddressArray acdk::net::InetAddress::getAllByName IN(RString host  )  [static]
 

RInetAddress acdk::net::InetAddress::getAnyAddress  )  [static]
 

returns INADDR_ANY

RInetAddress acdk::net::InetAddress::getByName IN(RString host  )  [static]
 

byte* acdk::net::InetAddress::getData  )  [inline]
 

RInetAddress acdk::net::InetAddress::getDefaultHost  )  [inline, static]
 

return the default address of the local machine

RString acdk::net::InetAddress::getDefaultHostName  )  [static]
 

return the default host name of the local machine

virtual RString acdk::net::InetAddress::getHostAddress  )  [virtual]
 

virtual RString acdk::net::InetAddress::getHostName  )  [virtual]
 

RInetAddress acdk::net::InetAddress::getLocalHost  )  [static]
 

return the inet address of localhost

RString acdk::net::InetAddress::getLocalHostName  )  [static]
 

returns local or localhost

RInetAddress acdk::net::InetAddress::getNullHost  )  [static]
 

return '0.0.0.0'

RInetAddress acdk::net::InetAddress::getWildcardHost  )  [static]
 

virtual int acdk::net::InetAddress::hashCode  )  [virtual]
 

See also:
serialized_hashCode

Reimplemented from acdk::lang::Object.

virtual bool acdk::net::InetAddress::isMulticastAddress  )  [virtual]
 

virtual RString acdk::net::InetAddress::toString  )  [virtual]
 

return a string representation of this object Object::toString() return getName() by default

Reimplemented from acdk::lang::Object.


Member Data Documentation

RString acdk::net::InetAddress::_hostname [protected]
 

RbyteArray acdk::net::InetAddress::_ipNumber [protected]
 

 
Last modified 2005-05-08 18:33 by SYSTEM By Artefaktur, Ing. Bureau Kommer