Secure FTP Factory

com.jscape.inet.scp.events
Class ScpConnectedEvent

java.lang.Object
  extended by ScpEvent
      extended by com.jscape.inet.scp.events.ScpConnectedEvent

public final class ScpConnectedEvent
extends ScpEvent

Scp connected event.

Version:
1.0
Author:
Alex

Constructor Summary
ScpConnectedEvent(Scp source, java.lang.String host, int port)
          Creates a new event instance.
 
Method Summary
 void accept(ScpEventListener listener)
           
 java.lang.String getHost()
          Returns connected host.
 int getPort()
          Returns connected port.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScpConnectedEvent

public ScpConnectedEvent(Scp source,
                         java.lang.String host,
                         int port)
Creates a new event instance.

Parameters:
source - source
host - host
port - port
Method Detail

getHost

public java.lang.String getHost()
Returns connected host.

Returns:
connected host

getPort

public int getPort()
Returns connected port.

Returns:
connected port

accept

public void accept(ScpEventListener listener)
See Also:
ScpEvent#accept(ScpEventListener)

Secure FTP Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved