sys::Obj sox::FileTransfer
public class FileTransfer
FileTransfer manages the state of a session's file transfer.
public short chunkSize
public inline File file
public int fileSize
public static const define int get
public byte mode
public short nextChunk
public short numChunks
public int offset
public static const define int put
public static const define int unused
public bool checkGet(SoxService service, SoxSession session)
Poll for work on a get. Attempt to send the next chunk of a file get.
public bool checkPut(SoxService service, SoxSession session)
Poll for work on a put. Check if we need to send the close.
public void reset()
Reset into a clean state for new session.