net.sf.jfilesync.plugins.net
Class KeepConnectionAliveProxy

java.lang.Object
  extended by net.sf.jfilesync.plugins.net.AbstractConnectionProxyImpl
      extended by net.sf.jfilesync.plugins.net.KeepConnectionAliveProxy
All Implemented Interfaces:
AbstractConnectionProxy

public class KeepConnectionAliveProxy
extends AbstractConnectionProxyImpl


Nested Class Summary
(package private) static class KeepConnectionAliveProxy.ConnectionChecker
           
 
Field Summary
private  int ccID
           
private  KeepConnectionAliveProxy.ConnectionChecker conChecker
           
private static java.util.logging.Logger LOGGER
           
private  int timeout_sec
           
 
Constructor Summary
KeepConnectionAliveProxy(AbstractConnectionProxy proxy, int ccID)
           
 
Method Summary
 void connect()
           
 void disconnect()
           
 int getTimeout()
           
 void setTimeOut(int timeout_s)
           
 
Methods inherited from class net.sf.jfilesync.plugins.net.AbstractConnectionProxyImpl
abort, chdir, exists, get, getAbstractConnectionProxy, getCurrentPath, getEncodedFileName, getFileInputStream, getFileOutputStream, getPathControlInstance, getPlugin, isConnected, isFile, isLink, isLocalConnection, ls, ls, mkdir, mkdirs, put, pwd, remove, rename, rmdir, setHidden, setModificationTime, setPermissions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

private static final java.util.logging.Logger LOGGER

timeout_sec

private int timeout_sec

conChecker

private KeepConnectionAliveProxy.ConnectionChecker conChecker

ccID

private final int ccID
Constructor Detail

KeepConnectionAliveProxy

public KeepConnectionAliveProxy(AbstractConnectionProxy proxy,
                                int ccID)
Method Detail

connect

public void connect()
             throws PluginConnectException
Specified by:
connect in interface AbstractConnectionProxy
Overrides:
connect in class AbstractConnectionProxyImpl
Throws:
PluginConnectException

disconnect

public void disconnect()
Specified by:
disconnect in interface AbstractConnectionProxy
Overrides:
disconnect in class AbstractConnectionProxyImpl

setTimeOut

public void setTimeOut(int timeout_s)

getTimeout

public int getTimeout()