SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

com.solarmetric.kodo.runtime.datacache.plugins
Class SocketDistributedCache.HostAddress

java.lang.Object
  |
  +--com.solarmetric.kodo.runtime.datacache.plugins.SocketDistributedCache.HostAddress
Enclosing class:
SocketDistributedCache

protected static class SocketDistributedCache.HostAddress
extends Object

Utility class to store an InetAddress and an int. Not using InetSocketAddress because it's a JDK1.4 API.


Field Summary
protected  InetAddress address
           
protected static int DEFAULT_PORT
           
protected  int port
           
 
Constructor Summary
protected SocketDistributedCache.HostAddress(String host)
          Construct a new host address from a string of the form "host:port" or of the form "host".
protected SocketDistributedCache.HostAddress(String host, int port)
          Construct a new host address with the specified host and port.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORT

protected static final int DEFAULT_PORT

address

protected InetAddress address

port

protected int port
Constructor Detail

SocketDistributedCache.HostAddress

protected SocketDistributedCache.HostAddress(String host,
                                             int port)
                                      throws UnknownHostException
Construct a new host address with the specified host and port.

SocketDistributedCache.HostAddress

protected SocketDistributedCache.HostAddress(String host)
                                      throws UnknownHostException
Construct a new host address from a string of the form "host:port" or of the form "host".

SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.