org.apache.sshd.server
Interface CommandFactory

All Known Implementing Classes:
ScpCommandFactory

public interface CommandFactory

A factory of commands. Commands are executed on the server side when an "exec" channel is requested by the SSH client.

Author:
Apache MINA SSHD Project

Method Summary
 Command createCommand(String command)
          Create a command with the given name.
 

Method Detail

createCommand

Command createCommand(String command)
Create a command with the given name. If the command is not known, a dummy command should be returned to allow the display output to be sent back to the client.

Parameters:
command -
Returns:
a non null Command


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.