de.cohesion.bssh.impl
Class LocalPortForwardCommand

java.lang.Object
  extended by de.cohesion.bssh.impl.SSHCommand
      extended by de.cohesion.bssh.impl.LocalPortForwardCommand
All Implemented Interfaces:
Command<Result>

public class LocalPortForwardCommand
extends SSHCommand

Author:
schulzs

Constructor Summary
LocalPortForwardCommand(Member remote, int localPort, Cache<Member,ch.ethz.ssh2.Connection> ccache)
           
 
Method Summary
 Member getProxy()
           
protected  Result perform(Member m, ch.ethz.ssh2.Connection c)
           
 void release()
           
 
Methods inherited from class de.cohesion.bssh.impl.SSHCommand
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalPortForwardCommand

public LocalPortForwardCommand(Member remote,
                               int localPort,
                               Cache<Member,ch.ethz.ssh2.Connection> ccache)
Method Detail

perform

protected Result perform(Member m,
                         ch.ethz.ssh2.Connection c)
                  throws java.io.IOException
Specified by:
perform in class SSHCommand
Throws:
java.io.IOException

getProxy

public Member getProxy()

release

public void release()
             throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005 . All Rights Reserved.