org.jacorb.orb.listener
public class TCPConnectionEvent extends EventObject
TCPConnectionEvent defines an event state object for a
TCP Socket Connection.
Version: $Id: TCPConnectionEvent.java,v 1.5 2006/07/19 15:29:08 alphonse.bendt Exp $
| Constructor Summary | |
|---|---|
| TCPConnectionEvent(IIOPConnection source, String remoteIP, int remotePort, int localPort, String localIP)
Creates a new TCPConnectionEvent instance passing in the
source of the event and relevant connection data.
| |
| Method Summary | |
|---|---|
| String | getLocalIP()getLocalIP is an accessor for the local IP.
|
| int | getLocalPort()getLocalPort is an accessor for the local port.
|
| String | getRemoteIP()getRemoteIP is an accessor for the remote IP.
|
| int | getRemotePort()getRemotePort is an accessor for the remote port.
|
| String | toString()
Returns a String representation of this EventObject.
|
TCPConnectionEvent instance passing in the
source of the event and relevant connection data.
Parameters: source an IIOPConnection value remoteIP a String value, maybe blank if a Socket has
just been created and not connected. remotePort an int value, maybe -1 if a Socket has
just been created and not connected. localPort an int value localIP a
getLocalIP is an accessor for the local IP.
Returns: a String value
getLocalPort is an accessor for the local port.
Returns: a int value
getRemoteIP is an accessor for the remote IP.
Returns: a String value
getRemotePort is an accessor for the remote port.
Returns: a int value
Returns: A String representation of this EventObject.