public class Serializer extends Object
Constructor and Description |
---|
Serializer(SftpSession session) |
Modifier and Type | Method and Description |
---|---|
protected int |
mapToVersion(int code) |
protected static int |
mapToVersion(int code,
int version) |
protected static int |
mapV4ToV3(int code) |
protected static int |
mapV5ToV4(int code) |
protected static int |
mapV6ToV5(int code) |
protected Request |
readRequest(Buffer buffer) |
protected void |
writeAttrs(Buffer buffer,
FileAttributes attrs) |
protected void |
writeAttrs(Buffer buffer,
SshFile file,
int flags) |
Buffer |
writeReply(Reply reply) |
public Serializer(SftpSession session)
public Buffer writeReply(Reply reply) throws IOException
IOException
protected static int mapV4ToV3(int code)
protected static int mapV5ToV4(int code)
protected static int mapV6ToV5(int code)
protected static int mapToVersion(int code, int version)
protected int mapToVersion(int code)
protected void writeAttrs(Buffer buffer, FileAttributes attrs)
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.