|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.ipclientssh.SshTunneler
public class SshTunneler
This class is used as SshTunneler for a local service
Constructor Summary | |
---|---|
SshTunneler(int portLocal,
SshParameters params,
java.lang.String remoteIp,
int remotePort)
Creates a new instance of SshTunneler local service. |
Method Summary | |
---|---|
void |
serviceEnded(com.jscape.inet.ipclientssh.SshTunnelerConnection.SshTunnelerEvent event)
Service ssh tunneler ended event. |
void |
start()
Starts the Ssh tunneler service |
void |
stop()
Stops the ssh tunneler service. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SshTunneler(int portLocal, SshParameters params, java.lang.String remoteIp, int remotePort)
portLocal
- The port local will be listened by the service.params
- Ssh connection parameters.remoteIp
- Remote host ip.remotePort
- Remote port.Method Detail |
---|
public void start() throws java.lang.Exception
java.lang.Exception
- If an error occurspublic void stop() throws java.lang.Exception
java.lang.Exception
- If an error occurs.public void serviceEnded(com.jscape.inet.ipclientssh.SshTunnelerConnection.SshTunnelerEvent event)
event
- Ssh tunneler event.
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |