com.maverick.sshd
Interface ForwardingCallback


public interface ForwardingCallback

This interface defines the callback methods required by the socketless SSHD implementation

Author:
Lee David Painter

Method Summary
 void localForwardingCancelled(java.lang.String destinationHost, int destinationPort, byte[] sessionid)
          A client has cancelled a local forwarding
 void localForwardingStarted(java.lang.String destinationHost, int destinationPort, byte[] sessionid)
          A client has started a local forwarding
 void remoteForwardingCancelled(java.lang.String listeningAddress, int listeningPort, byte[] sessionid)
          A client has cancelled a remote forwarding
 void remoteForwardingStarted(java.lang.String listeningAddress, int listeningPort, byte[] sessionid)
          A client has started a remote forwarding
 

Method Detail

localForwardingStarted

void localForwardingStarted(java.lang.String destinationHost,
                            int destinationPort,
                            byte[] sessionid)
A client has started a local forwarding

Parameters:
destinationHost - the host to which the user is forwarding to
destinationPort - the port to which the user is forwarding to
sessionid - the users session id

localForwardingCancelled

void localForwardingCancelled(java.lang.String destinationHost,
                              int destinationPort,
                              byte[] sessionid)
A client has cancelled a local forwarding

Parameters:
destinationHost - the host to which the user is forwarding to
destinationPort - the port to which the user is forwarding to
sessionid - the users session id

remoteForwardingStarted

void remoteForwardingStarted(java.lang.String listeningAddress,
                             int listeningPort,
                             byte[] sessionid)
A client has started a remote forwarding

Parameters:
listeningAddress - the address on which the server is listening
listeningPort - the port on which the server is listening
sessionid - the clients session id

remoteForwardingCancelled

void remoteForwardingCancelled(java.lang.String listeningAddress,
                               int listeningPort,
                               byte[] sessionid)
A client has cancelled a remote forwarding

Parameters:
listeningAddress - the address on which the server is listening
listeningPort - the port on which the server is listening
sessionid - the clients session id


Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.