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, yieldpublic PacketReader(SFTPEngine engine)
public SFTPPacket<Response> readPacket() throws java.io.IOException
java.io.IOExceptionpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void handle()
throws SFTPException
SFTPExceptionpublic Promise<Response,SFTPException> expectResponseTo(long requestId)