public class PacketReader
extends java.lang.Thread
Constructor and Description |
---|
PacketReader(SFTPEngine engine) |
Modifier and Type | Method and Description |
---|---|
Promise<Response,SFTPException> |
expectResponseTo(long requestId) |
void |
handle() |
SFTPPacket<Response> |
readPacket() |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public PacketReader(SFTPEngine engine)
public SFTPPacket<Response> readPacket() throws java.io.IOException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void handle() throws SFTPException
SFTPException
public Promise<Response,SFTPException> expectResponseTo(long requestId)