Secure FTP Factory

com.jscape.inet.scp.events
Class ScpDisconnectedEvent

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

public final class ScpDisconnectedEvent
extends ScpEvent

Scp disconnected event.

Version:
1.0
Author:
Alex

Constructor Summary
ScpDisconnectedEvent(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

ScpDisconnectedEvent

public ScpDisconnectedEvent(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:
com.jscape.inet.scp.events.ScpEvent#accept(com.jscape.inet.scp.events.ScpEventListener)

Secure FTP Factory

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