Novell exteNd Messaging Platform 5.2

com.sssw.jbroker.api.transport
Class TCPAddress

java.lang.Object
  extended bycom.sssw.jbroker.api.transport.TCPAddress
All Implemented Interfaces:
Cloneable, Serializable

public class TCPAddress
extends Object
implements Cloneable, Serializable

TCP address specifies a host name and a port.

See Also:
Serialized Form

Constructor Summary
TCPAddress(String host, int port)
          Create a new TCPAddress.
 
Method Summary
 boolean equals(Object other)
           
 String getHost()
          Get the host name.
 int getPort()
          Get the port.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TCPAddress

public TCPAddress(String host,
                  int port)
Create a new TCPAddress.

Method Detail

getHost

public String getHost()
Get the host name.


getPort

public int getPort()
Get the port.


toString

public String toString()

hashCode

public int hashCode()

equals

public boolean equals(Object other)

Novell exteNd Messaging Platform 5.2

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.