VisiBroker for Java

com.inprise.vbroker.EventQueue
Class ConnInfo

java.lang.Object
  extended by com.inprise.vbroker.EventQueue.ConnInfo
All Implemented Interfaces:
java.io.Serializable, IDLEntity

public final class ConnInfo
extends java.lang.Object
implements IDLEntity

ConnInfo is a struct containing details about client TCP endpoint. When firing conn_established and conn_closed ORB passes this detail to the listeners.

See Also:
Serialized Form

Field Summary
 int connID
          The id of the connection established between the client and this server.
 java.lang.String ipaddress
          The IP address of the connecting client.
 int port
          The local port of the connecting client.
 
Constructor Summary
ConnInfo()
           
ConnInfo(java.lang.String ipaddress, int port, int connID)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ipaddress

public java.lang.String ipaddress
The IP address of the connecting client.


port

public int port
The local port of the connecting client.


connID

public int connID
The id of the connection established between the client and this server.

Constructor Detail

ConnInfo

public ConnInfo()

ConnInfo

public ConnInfo(java.lang.String ipaddress,
                int port,
                int connID)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online