2005/5/9

     
 

class InetSocketAddress

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

acdk::net::InetSocketAddress Class Reference

#include <InetSocketAddress.h>

Inheritance diagram for acdk::net::InetSocketAddress:

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

Detailed Description

API: Java.

Author:
Roger Rene Kommer
Version:
Revision
1.1
Date:
Date
2005/03/26 15:02:02


Public Member Functions

 InetSocketAddress (IN(RInetAddress) addr, int port)
 InetSocketAddress (int port)
 InetSocketAddress (IN(RString) hostname, int port)
bool equals (IN(acdk::lang::Object) obj)
 Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

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


Protected Attributes

RInetAddress _inetAddress
int _port
bool _resolved


Constructor & Destructor Documentation

acdk::net::InetSocketAddress::InetSocketAddress IN(RInetAddress addr,
int  port
[inline]
 

acdk::net::InetSocketAddress::InetSocketAddress int  port  )  [inline]
 

acdk::net::InetSocketAddress::InetSocketAddress IN(RString hostname,
int  port
[inline]
 


Member Function Documentation

bool acdk::net::InetSocketAddress::equals IN(RInetSocketAddress other  )  [inline]
 

bool acdk::net::InetSocketAddress::equals IN(acdk::lang::Object obj  )  [inline, virtual]
 

Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

See also:
serialized_equals()

Reimplemented from acdk::lang::Object.

RInetAddress acdk::net::InetSocketAddress::getAddress  )  [inline]
 

RString acdk::net::InetSocketAddress::getHostName  )  [inline]
 

int acdk::net::InetSocketAddress::getPort  )  [inline]
 

int acdk::net::InetSocketAddress::hashCode  )  [inline, virtual]
 

See also:
serialized_hashCode

Reimplemented from acdk::lang::Object.

bool acdk::net::InetSocketAddress::isUnresolved  )  [inline]
 

RString acdk::net::InetSocketAddress::toString  )  [inline, virtual]
 

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

Reimplemented from acdk::lang::Object.


Member Data Documentation

RInetAddress acdk::net::InetSocketAddress::_inetAddress [protected]
 

int acdk::net::InetSocketAddress::_port [protected]
 

bool acdk::net::InetSocketAddress::_resolved [protected]