com.mindbright.application
public class ModuleSFTP extends java.lang.Object implements MindTermModule, SSHChdirEventHandler
Constructor and Description |
---|
ModuleSFTP() |
Modifier and Type | Method and Description |
---|---|
void |
activate(MindTermApp mindterm) |
void |
chdir(java.lang.String newdir)
Called when the active directory is changed.
|
void |
connected(MindTermApp mindterm) |
java.lang.String |
description(MindTermApp mindterm) |
void |
disconnected(MindTermApp mindterm) |
SSH2SessionChannel |
getSessionChannel() |
void |
init(MindTermApp mindterm) |
boolean |
isAvailable(MindTermApp mindterm) |
public void init(MindTermApp mindterm)
init
in interface MindTermModule
public void activate(MindTermApp mindterm)
activate
in interface MindTermModule
public boolean isAvailable(MindTermApp mindterm)
isAvailable
in interface MindTermModule
public void connected(MindTermApp mindterm)
connected
in interface MindTermModule
public void disconnected(MindTermApp mindterm)
disconnected
in interface MindTermModule
public java.lang.String description(MindTermApp mindterm)
description
in interface MindTermModule
public void chdir(java.lang.String newdir)
SSHChdirEventHandler
chdir
in interface SSHChdirEventHandler
newdir
- new active directorypublic SSH2SessionChannel getSessionChannel()