gnu.inet.ftp
Class ConnectionEvent

java.lang.Object
  |
  +--gnu.inet.ftp.ConnectionEvent

public class ConnectionEvent
extends java.lang.Object


Field Summary
protected  java.net.InetAddress address
           
protected  int port
           
 
Constructor Summary
ConnectionEvent(java.net.InetAddress address, int port)
          constructor.
 
Method Summary
 java.net.InetAddress getRemoteInetAddress()
          get the remote ip address
 int getRemotePort()
          get remote port
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

protected java.net.InetAddress address

port

protected int port
Constructor Detail

ConnectionEvent

public ConnectionEvent(java.net.InetAddress address,
                       int port)
constructor.
Parameters:
address - the remote system IP address
port - the remote system port
Method Detail

getRemoteInetAddress

public java.net.InetAddress getRemoteInetAddress()
get the remote ip address
Returns:
remote ip

getRemotePort

public int getRemotePort()
get remote port
Returns:
remote port