Uses of Class
org.apache.sshd.common.util.buffer.Buffer
-
-
Uses of Buffer in org.apache.sshd.agent.common
Methods in org.apache.sshd.agent.common that return Buffer Modifier and Type Method Description protected Buffer
AbstractAgentProxy. createBuffer(byte cmd)
protected Buffer
AbstractAgentProxy. createBuffer(byte cmd, int extraLen)
protected Buffer
AbstractAgentClient. prepare(Buffer buf)
protected Buffer
AbstractAgentProxy. prepare(Buffer buffer)
protected abstract Buffer
AbstractAgentProxy. request(Buffer buffer)
Methods in org.apache.sshd.agent.common with parameters of type Buffer Modifier and Type Method Description void
AbstractAgentClient. messageReceived(Buffer message)
protected Buffer
AbstractAgentClient. prepare(Buffer buf)
protected Buffer
AbstractAgentProxy. prepare(Buffer buffer)
protected void
AbstractAgentClient. process(int cmd, Buffer req, Buffer rep)
protected abstract void
AbstractAgentClient. reply(Buffer buf)
protected abstract Buffer
AbstractAgentProxy. request(Buffer buffer)
-
Uses of Buffer in org.apache.sshd.agent.local
Methods in org.apache.sshd.agent.local that return Buffer Modifier and Type Method Description protected Buffer
AgentForwardedChannel. request(Buffer buffer)
protected Buffer
AgentForwardedChannel. waitForMessageBuffer()
Methods in org.apache.sshd.agent.local with parameters of type Buffer Modifier and Type Method Description protected OpenFuture
ChannelAgentForwarding. doInit(Buffer buffer)
protected void
ChannelAgentForwarding.AgentClient. reply(Buffer buf)
protected Buffer
AgentForwardedChannel. request(Buffer buffer)
-
Uses of Buffer in org.apache.sshd.client.auth
Methods in org.apache.sshd.client.auth with parameters of type Buffer Modifier and Type Method Description boolean
AbstractUserAuth. process(Buffer buffer)
boolean
UserAuth. process(Buffer buffer)
protected abstract boolean
AbstractUserAuth. processAuthDataRequest(ClientSession session, String service, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.client.auth.hostbased
Methods in org.apache.sshd.client.auth.hostbased with parameters of type Buffer Modifier and Type Method Description protected void
UserAuthHostBased. appendSignature(ClientSession session, String service, String keyType, PublicKey key, byte[] keyBytes, String clientHostname, String clientUsername, Signature verifier, Buffer buffer)
protected boolean
UserAuthHostBased. processAuthDataRequest(ClientSession session, String service, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.client.auth.keyboard
Methods in org.apache.sshd.client.auth.keyboard with parameters of type Buffer Modifier and Type Method Description protected boolean
UserAuthKeyboardInteractive. processAuthDataRequest(ClientSession session, String service, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.client.auth.password
Methods in org.apache.sshd.client.auth.password with parameters of type Buffer Modifier and Type Method Description protected boolean
UserAuthPassword. processAuthDataRequest(ClientSession session, String service, Buffer buffer)
protected IoWriteFuture
UserAuthPassword. sendPassword(Buffer buffer, ClientSession session, String oldPassword, String newPassword)
Sends the password via aSSH_MSG_USERAUTH_REQUEST
message. -
Uses of Buffer in org.apache.sshd.client.auth.pubkey
Methods in org.apache.sshd.client.auth.pubkey with parameters of type Buffer Modifier and Type Method Description protected void
UserAuthPublicKey. appendSignature(ClientSession session, String service, String name, String username, String algo, PublicKey key, Buffer buffer)
protected boolean
UserAuthPublicKey. processAuthDataRequest(ClientSession session, String service, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.client.channel
Fields in org.apache.sshd.client.channel with type parameters of type Buffer Modifier and Type Field Description protected Deque<Map.Entry<Buffer,Consumer<? super Throwable>>>
ClientChannelPendingMessagesQueue. pendingQueue
Methods in org.apache.sshd.client.channel with parameters of type Buffer Modifier and Type Method Description int
ClientChannelPendingMessagesQueue. handleIncomingMessage(Buffer buffer, Consumer<? super Throwable> errHandler)
Checks if the future is already open and manages the message handling accordingly:protected RequestHandler.Result
ChannelSession. handleInternalRequest(String req, boolean wantReply, Buffer buffer)
void
AbstractClientChannel. handleOpenFailure(Buffer buffer)
void
AbstractClientChannel. handleOpenSuccess(int recipient, long rwSize, long packetSize, Buffer buffer)
void
AbstractClientChannel. handleWindowAdjust(Buffer buffer)
protected RequestHandler.Result
ChannelSession. handleXonXoff(Buffer buffer, boolean wantReply)
OpenFuture
AbstractClientChannel. open(int recipient, long rwSize, long packetSize, Buffer buffer)
protected void
ClientChannelPendingMessagesQueue. writeMessage(Buffer buffer, Consumer<? super IOException> errHandler)
-
Uses of Buffer in org.apache.sshd.client.channel.exit
Methods in org.apache.sshd.client.channel.exit with parameters of type Buffer Modifier and Type Method Description RequestHandler.Result
AbstractChannelExitRequestHandler. process(Channel channel, String request, boolean wantReply, Buffer buffer)
protected abstract V
AbstractChannelExitRequestHandler. processRequestValue(Channel channel, String request, Buffer buffer)
Invoked by default fromAbstractChannelExitRequestHandler.process(Channel, String, boolean, Buffer)
when a request matching the handler's name is receivedprotected String
ExitSignalChannelRequestHandler. processRequestValue(Channel channel, String request, Buffer buffer)
protected Integer
ExitStatusChannelRequestHandler. processRequestValue(Channel channel, String request, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.client.global
Methods in org.apache.sshd.client.global with parameters of type Buffer Modifier and Type Method Description protected RequestHandler.Result
OpenSshHostKeysHandler. handleHostKeys(Session session, Collection<? extends PublicKey> keys, boolean wantReply, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.client.kex
Methods in org.apache.sshd.client.kex with parameters of type Buffer Modifier and Type Method Description boolean
DHGClient. next(int cmd, Buffer buffer)
boolean
DHGEXClient. next(int cmd, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.client.session
Methods in org.apache.sshd.client.session with parameters of type Buffer Modifier and Type Method Description protected void
ClientSessionImpl. handleDisconnect(int code, String msg, String lang, Buffer buffer)
void
ClientUserAuthService. process(int cmd, Buffer buffer)
protected void
ClientUserAuthService. processUserAuth(Buffer buffer)
Execute one step in user authentication.protected boolean
AbstractClientSession. readIdentification(Buffer buffer)
protected byte[]
AbstractClientSession. receiveKexInit(Buffer buffer)
void
AbstractClientSession. startService(String name, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.client.subsystem.sftp
Methods in org.apache.sshd.client.subsystem.sftp that return Buffer Modifier and Type Method Description Buffer
RawSftpClient. receive(int id)
Methods in org.apache.sshd.client.subsystem.sftp with parameters of type Buffer Modifier and Type Method Description int
RawSftpClient. send(int cmd, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.client.subsystem.sftp.extensions.helpers
Methods in org.apache.sshd.client.subsystem.sftp.extensions.helpers that return Buffer Modifier and Type Method Description protected Buffer
AbstractSftpClientExtension. checkExtendedReplyBuffer(Buffer buffer)
protected Buffer
AbstractSftpClientExtension. getCommandBuffer(int extraSize)
protected Buffer
AbstractSftpClientExtension. getCommandBuffer(Object target)
protected Buffer
AbstractSftpClientExtension. getCommandBuffer(Object target, int extraSize)
Buffer
AbstractSftpClientExtension. putTarget(Buffer buffer, Object target)
Buffer
AbstractSftpClientExtension. receive(int id)
Methods in org.apache.sshd.client.subsystem.sftp.extensions.helpers with parameters of type Buffer Modifier and Type Method Description protected Buffer
AbstractSftpClientExtension. checkExtendedReplyBuffer(Buffer buffer)
protected void
AbstractSftpClientExtension. checkStatus(Buffer buffer)
Buffer
AbstractSftpClientExtension. putTarget(Buffer buffer, Object target)
int
AbstractSftpClientExtension. send(int cmd, Buffer buffer)
protected void
AbstractSftpClientExtension. sendAndCheckExtendedCommandStatus(Buffer buffer)
protected int
AbstractSftpClientExtension. sendExtendedCommand(Buffer buffer)
protected void
AbstractSftpClientExtension. validateIncomingResponse(int cmd, int id, int type, int length, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.client.subsystem.sftp.extensions.openssh
Methods in org.apache.sshd.client.subsystem.sftp.extensions.openssh with parameters of type Buffer Modifier and Type Method Description static OpenSSHStatExtensionInfo
OpenSSHStatExtensionInfo. decode(Buffer buffer)
static void
OpenSSHStatExtensionInfo. decode(Buffer buffer, OpenSSHStatExtensionInfo info)
static void
OpenSSHStatExtensionInfo. encode(Buffer buffer, OpenSSHStatExtensionInfo info)
Constructors in org.apache.sshd.client.subsystem.sftp.extensions.openssh with parameters of type Buffer Constructor Description OpenSSHStatExtensionInfo(Buffer buffer)
-
Uses of Buffer in org.apache.sshd.client.subsystem.sftp.impl
Methods in org.apache.sshd.client.subsystem.sftp.impl with type parameters of type Buffer Modifier and Type Method Description protected <B extends Buffer>
BAbstractSftpClient. putReferencedName(int cmd, B buf, String name, int nameIndex)
protected <B extends Buffer>
BAbstractSftpClient. writeAttributes(int cmd, B buffer, SftpClient.Attributes attributes)
Methods in org.apache.sshd.client.subsystem.sftp.impl that return Buffer Modifier and Type Method Description protected Buffer
DefaultSftpClient. read()
Buffer
DefaultSftpClient. receive(int id)
Methods in org.apache.sshd.client.subsystem.sftp.impl with parameters of type Buffer Modifier and Type Method Description protected SftpClient.Attributes
AbstractSftpClient. checkAttributes(int cmd, Buffer request)
protected SftpClient.Attributes
AbstractSftpClient. checkAttributesResponse(int cmd, Buffer buffer)
protected void
AbstractSftpClient. checkCommandStatus(int cmd, Buffer request)
Sends the specified command, waits for the response and then invokesAbstractSftpClient.checkResponseStatus(int, Buffer)
protected int
AbstractSftpClient. checkData(int cmd, Buffer request, int dstOffset, byte[] dst, AtomicReference<Boolean> eofSignalled)
protected int
AbstractSftpClient. checkDataResponse(int cmd, Buffer buffer, int dstoff, byte[] dst, AtomicReference<Boolean> eofSignalled)
protected List<SftpClient.DirEntry>
AbstractSftpClient. checkDirResponse(int cmd, Buffer buffer, AtomicReference<Boolean> eolIndicator)
protected byte[]
AbstractSftpClient. checkHandle(int cmd, Buffer request)
protected byte[]
AbstractSftpClient. checkHandleResponse(int cmd, Buffer buffer)
protected String
AbstractSftpClient. checkOneName(int cmd, Buffer request)
protected String
AbstractSftpClient. checkOneNameResponse(int cmd, Buffer buffer)
protected void
AbstractSftpClient. checkResponseStatus(int cmd, Buffer buffer)
Checks if the incoming response is anSSH_FXP_STATUS
one, and if so whether the substatus isSSH_FX_OK
.protected String
AbstractSftpClient. getReferencedName(int cmd, Buffer buf, int nameIndex)
protected SftpClient.Attributes
AbstractSftpClient. handleUnexpectedAttributesPacket(int cmd, int id, int type, int length, Buffer buffer)
protected byte[]
AbstractSftpClient. handleUnexpectedHandlePacket(int cmd, int id, int type, int length, Buffer buffer)
protected IOException
AbstractSftpClient. handleUnexpectedPacket(int cmd, int expected, int id, int type, int length, Buffer buffer)
protected int
AbstractSftpClient. handleUnknownDataPacket(int cmd, int id, int type, int length, Buffer buffer)
protected List<SftpClient.DirEntry>
AbstractSftpClient. handleUnknownDirListingPacket(int cmd, int id, int type, int length, Buffer buffer)
protected String
AbstractSftpClient. handleUnknownOneNamePacket(int cmd, int id, int type, int length, Buffer buffer)
protected void
DefaultSftpClient. process(Buffer incoming)
Process an SFTP packetprotected SftpClient.Attributes
AbstractSftpClient. readAttributes(int cmd, Buffer buffer, AtomicInteger nameIndex)
protected boolean
DefaultSftpClient. receive(Buffer incoming)
Read SFTP packets from bufferint
DefaultSftpClient. send(int cmd, Buffer buffer)
protected void
AbstractSftpClient. validateIncomingResponse(int cmd, int id, int type, int length, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.common
Methods in org.apache.sshd.common with parameters of type Buffer Modifier and Type Method Description void
Service. process(int cmd, Buffer buffer)
Service the request. -
Uses of Buffer in org.apache.sshd.common.channel
Methods in org.apache.sshd.common.channel that return Buffer Modifier and Type Method Description Buffer
ChannelAsyncInputStream.IoReadFutureImpl. getBuffer()
Buffer
IoWriteFutureImpl. getBuffer()
Methods in org.apache.sshd.common.channel with parameters of type Buffer Modifier and Type Method Description protected void
AbstractChannel. handleChannelRequest(String req, boolean wantReply, Buffer buffer)
void
AbstractChannel. handleData(Buffer buffer)
void
Channel. handleData(Buffer buffer)
Invoked whenSSH_MSG_CHANNEL_DATA
receivedvoid
AbstractChannel. handleExtendedData(Buffer buffer)
void
Channel. handleExtendedData(Buffer buffer)
Invoked whenSSH_MSG_CHANNEL_EXTENDED_DATA
receivedprotected RequestHandler.Result
AbstractChannel. handleInternalRequest(String req, boolean wantReply, Buffer buffer)
Called byAbstractChannel.handleUnknownChannelRequest(String, boolean, Buffer)
in order to allow channel request handling if none of the registered handlers processed the request - last chance.void
Channel. handleOpenFailure(Buffer buffer)
For a client channel, this method will be called internally by the session when the server has rejected this channel opening.void
Channel. handleOpenSuccess(int recipient, long rwSize, long packetSize, Buffer buffer)
For a client channel, this method will be called internally by the session when the confirmation has been received.void
AbstractChannel. handleRequest(Buffer buffer)
void
Channel. handleRequest(Buffer buffer)
Invoked whenSSH_MSG_CHANNEL_REQUEST
receivedprotected void
AbstractChannel. handleUnknownChannelRequest(String req, boolean wantReply, Buffer buffer)
Called when none of the register request handlers reported handling the requestvoid
AbstractChannel. handleWindowAdjust(Buffer buffer)
void
Channel. handleWindowAdjust(Buffer buffer)
Invoked whenSSH_MSG_CHANNEL_WINDOW_ADJUST
receivedOpenFuture
Channel. open(int recipient, long rwSize, long packetSize, Buffer buffer)
For a server channel, this method will actually open the channelRequestHandler.Result
ChannelRequestHandler. process(Channel channel, String request, boolean wantReply, Buffer buffer)
RequestHandler.Result
RequestHandler. process(T t, String request, boolean wantReply, Buffer buffer)
Process an SSH request.IoReadFuture
ChannelAsyncInputStream. read(Buffer buf)
protected IoWriteFuture
AbstractChannel. sendResponse(Buffer buffer, String req, RequestHandler.Result result, boolean wantReply)
IoWriteFuture
AbstractChannel. writePacket(Buffer buffer)
IoWriteFuture
BufferedIoOutputStream. writePacket(Buffer buffer)
IoWriteFuture
ChannelAsyncOutputStream. writePacket(Buffer buffer)
Constructors in org.apache.sshd.common.channel with parameters of type Buffer Constructor Description IoReadFutureImpl(Object id, Buffer buffer)
IoWriteFutureImpl(Object id, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.common.compression
Methods in org.apache.sshd.common.compression with parameters of type Buffer Modifier and Type Method Description void
Compression. compress(Buffer buffer)
Compress the given buffer in place.void
CompressionNone. compress(Buffer buffer)
void
CompressionZlib. compress(Buffer buffer)
void
Compression. uncompress(Buffer from, Buffer to)
Uncompress the data in a buffer into another buffer.void
CompressionNone. uncompress(Buffer from, Buffer to)
void
CompressionZlib. uncompress(Buffer from, Buffer to)
-
Uses of Buffer in org.apache.sshd.common.forward
Methods in org.apache.sshd.common.forward with parameters of type Buffer Modifier and Type Method Description protected String
SocksProxy.Socks5. getBLString(Buffer buffer)
protected String
SocksProxy.Socks4. getNTString(Buffer buffer)
protected int
SocksProxy.Proxy. getUByte(Buffer buffer)
protected int
SocksProxy.Proxy. getUShort(Buffer buffer)
protected void
SocksProxy.Proxy. onMessage(Buffer buffer)
protected void
SocksProxy.Socks4. onMessage(Buffer buffer)
protected void
SocksProxy.Socks5. onMessage(Buffer buffer)
-
Uses of Buffer in org.apache.sshd.common.global
Methods in org.apache.sshd.common.global with parameters of type Buffer Modifier and Type Method Description protected abstract RequestHandler.Result
AbstractOpenSshHostKeysHandler. handleHostKeys(Session session, Collection<? extends PublicKey> keys, boolean wantReply, Buffer buffer)
RequestHandler.Result
AbstractOpenSshHostKeysHandler. process(ConnectionService connectionService, String request, boolean wantReply, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.common.io
Methods in org.apache.sshd.common.io that return Buffer Modifier and Type Method Description Buffer
IoReadFuture. getBuffer()
Methods in org.apache.sshd.common.io with parameters of type Buffer Modifier and Type Method Description IoReadFuture
IoInputStream. read(Buffer buffer)
NOTE: the buffer must not be touched until the returned read future is completed.IoWriteFuture
PacketWriter. writePacket(Buffer buffer)
Encode and send the given buffer. -
Uses of Buffer in org.apache.sshd.common.io.nio2
Methods in org.apache.sshd.common.io.nio2 with parameters of type Buffer Modifier and Type Method Description IoWriteFuture
Nio2Session. writePacket(Buffer buffer)
-
Uses of Buffer in org.apache.sshd.common.kex
Methods in org.apache.sshd.common.kex with parameters of type Buffer Modifier and Type Method Description boolean
KeyExchange. next(int cmd, Buffer buffer)
Process the next packet -
Uses of Buffer in org.apache.sshd.common.kex.extension
Methods in org.apache.sshd.common.kex.extension with parameters of type Buffer Modifier and Type Method Description default boolean
KexExtensionHandler. handleKexCompressionMessage(Session session, Buffer buffer)
Parses theSSH_MSG_NEWCOMPRESS
message.default boolean
KexExtensionHandler. handleKexExtensionsMessage(Session session, Buffer buffer)
Parses theSSH_MSG_EXT_INFO
message.T
KexExtensionParser. parseExtension(Buffer buffer)
static List<Map.Entry<String,?>>
KexExtensions. parseExtensions(Buffer buffer)
Attempts to parse anSSH_MSG_EXT_INFO
messagevoid
KexExtensionParser. putExtension(T value, Buffer buffer)
Adds the name + value to the bufferstatic void
KexExtensions. putExtensions(Collection<? extends Map.Entry<String,?>> exts, Buffer buffer)
Creates anSSH_MSG_EXT_INFO
message using the provided extensions. -
Uses of Buffer in org.apache.sshd.common.kex.extension.parser
Methods in org.apache.sshd.common.kex.extension.parser with parameters of type Buffer Modifier and Type Method Description protected abstract void
AbstractKexExtensionParser. encode(T value, Buffer buffer)
protected void
DelayCompression. encode(DelayedCompressionAlgorithms algos, Buffer buffer)
protected void
Elevation. encode(String value, Buffer buffer)
protected void
NoFlowControl. encode(String value, Buffer buffer)
protected void
ServerSignatureAlgorithms. encode(List<String> names, Buffer buffer)
DelayedCompressionAlgorithms
DelayCompression. parseExtension(Buffer buffer)
String
Elevation. parseExtension(Buffer buffer)
String
NoFlowControl. parseExtension(Buffer buffer)
List<String>
ServerSignatureAlgorithms. parseExtension(Buffer buffer)
void
AbstractKexExtensionParser. putExtension(T value, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.common.session
Subclasses of Buffer in org.apache.sshd.common.session Modifier and Type Class Description class
SessionWorkBuffer
Methods in org.apache.sshd.common.session that return Buffer Modifier and Type Method Description default Buffer
Session. createBuffer(byte cmd)
Create a new buffer for the specified SSH packet and reserve the needed space (5 bytes) for the packet header.Buffer
Session. createBuffer(byte cmd, int estimatedSize)
Create a new buffer for the specified SSH packet and reserve the needed space (5 bytes) for the packet header.Buffer
Session. prepareBuffer(byte cmd, Buffer buffer)
Prepare a new "clean" buffer while reserving the needed space (5 bytes) for the packet header.Buffer
Session. request(String request, Buffer buffer, long timeout, TimeUnit unit)
Send a global request and wait for the response.Methods in org.apache.sshd.common.session with parameters of type Buffer Modifier and Type Method Description default void
ReservedSessionMessagesHandler. handleDebugMessage(Session session, Buffer buffer)
Invoked when anSSH_MSG_DEBUG
packet is receiveddefault void
ReservedSessionMessagesHandler. handleIgnoreMessage(Session session, Buffer buffer)
Invoked when anSSH_MSG_IGNORE
packet is receiveddefault boolean
ReservedSessionMessagesHandler. handleUnimplementedMessage(Session session, int cmd, Buffer buffer)
Invoked when a packet with an un-implemented message is received - includingSSH_MSG_UNIMPLEMENTED
itselfChannel
UnknownChannelReferenceHandler. handleUnknownChannelCommand(ConnectionService service, byte cmd, int channelId, Buffer buffer)
Invoked when the connection service responsible for handling channel messages receives a message intended for an unknown channel.default boolean
SessionDisconnectHandler. handleUnsupportedServiceDisconnectReason(Session session, int cmd, String serviceName, Buffer buffer)
Invoked when a request has been made related to an unknown SSH service as described in RFC 4253 - section 10.Buffer
Session. prepareBuffer(byte cmd, Buffer buffer)
Prepare a new "clean" buffer while reserving the needed space (5 bytes) for the packet header.RequestHandler.Result
ConnectionServiceRequestHandler. process(ConnectionService service, String request, boolean wantReply, Buffer buffer)
Buffer
Session. request(String request, Buffer buffer, long timeout, TimeUnit unit)
Send a global request and wait for the response.void
Session. startService(String name, Buffer buffer)
IoWriteFuture
Session. writePacket(Buffer buffer, long timeout, TimeUnit unit)
Encode and send the given buffer with the specified timeout. -
Uses of Buffer in org.apache.sshd.common.session.helpers
Methods in org.apache.sshd.common.session.helpers with type parameters of type Buffer Modifier and Type Method Description protected <B extends Buffer>
BAbstractSession. validateTargetBuffer(int cmd, B buffer)
Makes sure that the buffer used for output is notnull
or one of the session's internal ones used for decoding and uncompressingMethods in org.apache.sshd.common.session.helpers that return Buffer Modifier and Type Method Description Buffer
AbstractSession. createBuffer(byte cmd, int len)
protected Buffer
AbstractSession. encode(Buffer buffer)
Encode a buffer into the SSH protocol.Buffer
PendingWriteFuture. getBuffer()
Buffer
AbstractSession. prepareBuffer(byte cmd, Buffer buffer)
Buffer
AbstractSession. request(String request, Buffer buffer, long timeout, TimeUnit unit)
protected Buffer
AbstractSession. resolveOutputPacket(Buffer buffer)
Methods in org.apache.sshd.common.session.helpers with parameters of type Buffer Modifier and Type Method Description protected void
AbstractSession. appendOutgoingMac(Buffer buf, int offset, int len)
void
AbstractConnectionService. channelClose(Buffer buffer)
Close a channel due to a close packet receivedvoid
AbstractConnectionService. channelData(Buffer buffer)
Process incoming data on a channelvoid
AbstractConnectionService. channelEof(Buffer buffer)
Process end of file on a channelvoid
AbstractConnectionService. channelExtendedData(Buffer buffer)
Process incoming extended data on a channelvoid
AbstractConnectionService. channelFailure(Buffer buffer)
Process a failure on a channelprotected void
AbstractConnectionService. channelOpen(Buffer buffer)
void
AbstractConnectionService. channelOpenConfirmation(Buffer buffer)
void
AbstractConnectionService. channelOpenFailure(Buffer buffer)
void
AbstractConnectionService. channelRequest(Buffer buffer)
Service a request on a channelvoid
AbstractConnectionService. channelSuccess(Buffer buffer)
Process a success on a channelvoid
AbstractConnectionService. channelWindowAdjust(Buffer buffer)
Process a window adjust packet on a channelprotected void
AbstractSession. doHandleMessage(Buffer buffer)
protected List<String>
SessionHelper. doReadIdentification(Buffer buffer, boolean server)
Read the remote identification from this buffer.protected IoWriteFuture
AbstractSession. doWritePacket(Buffer buffer)
protected Buffer
AbstractSession. encode(Buffer buffer)
Encode a buffer into the SSH protocol.protected void
AbstractSession. encryptOutgoingBuffer(Buffer buf, int offset, int len)
protected Channel
AbstractConnectionService. getChannel(byte cmd, int recipient, Buffer buffer)
protected Channel
AbstractConnectionService. getChannel(byte cmd, Buffer buffer)
Retrieve the channel designated by the given packetprotected IoWriteFuture
AbstractConnectionService. globalRequest(Buffer buffer)
Process global requestsprotected void
SessionHelper. handleDebug(Buffer buffer)
void
ReservedSessionMessagesHandlerAdapter. handleDebugMessage(Session session, boolean display, String msg, String lang, Buffer buffer)
void
ReservedSessionMessagesHandlerAdapter. handleDebugMessage(Session session, Buffer buffer)
protected void
SessionHelper. handleDisconnect(int code, String msg, String lang, Buffer buffer)
protected void
SessionHelper. handleDisconnect(Buffer buffer)
protected boolean
AbstractSession. handleFirstKexPacketFollows(int cmd, Buffer buffer, boolean followFlag)
protected void
SessionHelper. handleIgnore(Buffer buffer)
void
ReservedSessionMessagesHandlerAdapter. handleIgnoreMessage(Session session, byte[] data, Buffer buffer)
void
ReservedSessionMessagesHandlerAdapter. handleIgnoreMessage(Session session, Buffer buffer)
protected void
AbstractSession. handleKexExtension(int cmd, Buffer buffer)
protected void
AbstractSession. handleKexInit(Buffer buffer)
protected void
AbstractSession. handleKexMessage(int cmd, Buffer buffer)
protected void
AbstractSession. handleMessage(Buffer buffer)
Abstract method for processing incoming decoded packets.protected void
AbstractSession. handleNewCompression(int cmd, Buffer buffer)
protected void
AbstractSession. handleNewKeys(int cmd, Buffer buffer)
protected void
AbstractSession. handleServiceAccept(String serviceName, Buffer buffer)
protected void
AbstractSession. handleServiceAccept(Buffer buffer)
protected boolean
AbstractSession. handleServiceRequest(String serviceName, Buffer buffer)
protected void
AbstractSession. handleServiceRequest(Buffer buffer)
protected void
SessionHelper. handleUnimplemented(Buffer buffer)
boolean
ReservedSessionMessagesHandlerAdapter. handleUnimplementedMessage(Session session, int cmd, Buffer buffer)
Channel
DefaultUnknownChannelReferenceHandler. handleUnknownChannelCommand(ConnectionService service, byte cmd, int channelId, Buffer buffer)
protected IoWriteFuture
AbstractConnectionService. handleUnknownRequest(Buffer buffer, String req, boolean wantReply)
protected IoWriteFuture
AbstractSession. notImplemented(int cmd, Buffer buffer)
Send aSSH_MSG_UNIMPLEMENTED
packet.Buffer
AbstractSession. prepareBuffer(byte cmd, Buffer buffer)
void
AbstractConnectionService. process(int cmd, Buffer buffer)
RequestHandler.Result
AbstractConnectionServiceRequestHandler. process(ConnectionService connectionService, String request, boolean wantReply, Buffer buffer)
protected abstract boolean
AbstractSession. readIdentification(Buffer buffer)
Read the other side identification.protected byte[]
AbstractSession. receiveKexInit(Buffer buffer)
protected byte[]
AbstractSession. receiveKexInit(Buffer buffer, Map<KexProposalOption,String> proposal)
Receive the remote key exchange init message.Buffer
AbstractSession. request(String request, Buffer buffer, long timeout, TimeUnit unit)
protected void
AbstractConnectionService. requestFailure(Buffer buffer)
protected void
AbstractSession. requestFailure(Buffer buffer)
Indicates the reception of aSSH_MSG_REQUEST_FAILURE
messageprotected void
AbstractConnectionService. requestSuccess(Buffer buffer)
protected void
AbstractSession. requestSuccess(Buffer buffer)
Indicates the reception of aSSH_MSG_REQUEST_SUCCESS
messageprotected Buffer
AbstractSession. resolveOutputPacket(Buffer buffer)
protected IoWriteFuture
AbstractConnectionService. sendChannelOpenFailure(Buffer buffer, int sender, int reasonCode, String message, String lang)
protected IoWriteFuture
AbstractConnectionService. sendGlobalResponse(Buffer buffer, String req, RequestHandler.Result result, boolean wantReply)
IoWriteFuture
AbstractSession. writePacket(Buffer buffer)
IoWriteFuture
SessionHelper. writePacket(Buffer buffer, long timeout, TimeUnit unit)
Constructors in org.apache.sshd.common.session.helpers with parameters of type Buffer Constructor Description PendingWriteFuture(Object id, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.common.subsystem.sftp
Methods in org.apache.sshd.common.subsystem.sftp with type parameters of type Buffer Modifier and Type Method Description static <B extends Buffer>
BSftpHelper. encodeACLs(B buffer, int version, Collection<? extends AclEntry> acl)
static <B extends Buffer>
BSftpHelper. writeAclEntry(B buffer, AclEntry acl)
static <B extends Buffer>
BSftpHelper. writeACLs(B buffer, int version, Collection<? extends AclEntry> acl)
static <B extends Buffer>
BSftpHelper. writeAttrs(B buffer, int version, Map<String,?> attributes)
Writes a file / folder's attributes to a bufferstatic <B extends Buffer>
BSftpHelper. writeAttrsV3(B buffer, int version, Map<String,?> attributes)
Writes the retrieved file / directory attributes in V3 formatstatic <B extends Buffer>
BSftpHelper. writeAttrsV4(B buffer, int version, Map<String,?> attributes)
Writes the retrieved file / directory attributes in V4+ formatstatic <B extends Buffer>
BSftpHelper. writeExtensions(B buffer, Map<?,?> extensions)
static <B extends Buffer>
BSftpHelper. writeTime(B buffer, int version, int flags, FileTime time)
Encodes aFileTime
value into a bufferMethods in org.apache.sshd.common.subsystem.sftp with parameters of type Buffer Modifier and Type Method Description static List<AclEntry>
SftpHelper. decodeACLs(Buffer buffer, int version)
static Boolean
SftpHelper. getEndOfFileIndicatorValue(Buffer buffer, int version)
Retrieves the end-of-file indicator forSSH_FXP_DATA
responses, provided the version is at least 6, and the buffer has enough available datastatic Boolean
SftpHelper. getEndOfListIndicatorValue(Buffer buffer, int version)
Retrieves the end-of-list indicator forSSH_FXP_NAME
responses, provided the version is at least 6, and the buffer has enough available datastatic Boolean
SftpHelper. indicateEndOfNamesList(Buffer buffer, int version, PropertyResolver resolver)
Appends the end-of-list=TRUE
indicator forSSH_FXP_NAME
responses, provided the version is at least 6 and the feature is enabledstatic Boolean
SftpHelper. indicateEndOfNamesList(Buffer buffer, int version, PropertyResolver resolver, boolean indicatorValue)
Appends the end-of-list indicator forSSH_FXP_NAME
responses, provided the version is at least 6, the feature is enabled and the indicator value is notnull
static List<AclEntry>
SftpHelper. readACLs(Buffer buffer, int version)
static NavigableMap<String,Object>
SftpHelper. readAttrs(Buffer buffer, int version)
static NavigableMap<String,byte[]>
SftpHelper. readExtensions(Buffer buffer)
static FileTime
SftpHelper. readTime(Buffer buffer, int version, int flags)
Decodes aFileTime
value from a buffer -
Uses of Buffer in org.apache.sshd.common.subsystem.sftp.extensions
Methods in org.apache.sshd.common.subsystem.sftp.extensions with parameters of type Buffer Modifier and Type Method Description static SpaceAvailableExtensionInfo
SpaceAvailableExtensionInfo. decode(Buffer buffer)
static void
SpaceAvailableExtensionInfo. decode(Buffer buffer, SpaceAvailableExtensionInfo info)
static void
SpaceAvailableExtensionInfo. encode(Buffer buffer, SpaceAvailableExtensionInfo info)
AclSupportedParser.AclCapabilities
AclSupportedParser. parse(Buffer buffer)
Supported2Parser.Supported2
Supported2Parser. parse(Buffer buffer)
SupportedParser.Supported
SupportedParser. parse(Buffer buffer)
VendorIdParser.VendorId
VendorIdParser. parse(Buffer buffer)
Constructors in org.apache.sshd.common.subsystem.sftp.extensions with parameters of type Buffer Constructor Description SpaceAvailableExtensionInfo(Buffer buffer)
-
Uses of Buffer in org.apache.sshd.common.util.buffer
Subclasses of Buffer in org.apache.sshd.common.util.buffer Modifier and Type Class Description class
ByteArrayBuffer
Provides an implementation ofBuffer
using a backing byte arrayMethods in org.apache.sshd.common.util.buffer with type parameters of type Buffer Modifier and Type Method Description static <B extends Buffer>
BBufferUtils. clear(B buffer)
Invokesclear()
Methods in org.apache.sshd.common.util.buffer with parameters of type Buffer Modifier and Type Method Description static int
BufferUtils. updateLengthPlaceholder(Buffer buffer, int lenPos)
Used for encodings where we don't know the data length before adding it to the buffer.static void
BufferUtils. updateLengthPlaceholder(Buffer buffer, int lenPos, int dataLength)
Updates a 32-bit "placeholder" location for data length - moves the write position to the specified placeholder position, updates the length value and then moves the write position it back to its original value. -
Uses of Buffer in org.apache.sshd.common.util.buffer.keys
Methods in org.apache.sshd.common.util.buffer.keys with parameters of type Buffer Modifier and Type Method Description protected ECPublicKey
ECBufferPublicKeyParser. getRawECKey(String expectedCurve, ECParameterSpec spec, Buffer buffer)
PUB
BufferPublicKeyParser. getRawPublicKey(String keyType, Buffer buffer)
DSAPublicKey
DSSBufferPublicKeyParser. getRawPublicKey(String keyType, Buffer buffer)
ECPublicKey
ECBufferPublicKeyParser. getRawPublicKey(String keyType, Buffer buffer)
PublicKey
ED25519BufferPublicKeyParser. getRawPublicKey(String keyType, Buffer buffer)
RSAPublicKey
RSABufferPublicKeyParser. getRawPublicKey(String keyType, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.common.util.security
Methods in org.apache.sshd.common.util.security with type parameters of type Buffer Modifier and Type Method Description static <B extends Buffer>
BSecurityUtils. putEDDSAKeyPair(B buffer, KeyPair kp)
static <B extends Buffer>
BSecurityUtils. putEDDSAKeyPair(B buffer, PublicKey pubKey, PrivateKey prvKey)
static <B extends Buffer>
BSecurityUtils. putRawEDDSAPublicKey(B buffer, PublicKey key)
Methods in org.apache.sshd.common.util.security with parameters of type Buffer Modifier and Type Method Description static KeyPair
SecurityUtils. extractEDDSAKeyPair(Buffer buffer, String keyType)
-
Uses of Buffer in org.apache.sshd.common.util.security.eddsa
Methods in org.apache.sshd.common.util.security.eddsa with type parameters of type Buffer Modifier and Type Method Description static <B extends Buffer>
BEdDSASecurityProviderUtils. putEDDSAKeyPair(B buffer, PublicKey pubKey, PrivateKey prvKey)
static <B extends Buffer>
BEdDSASecurityProviderUtils. putRawEDDSAPublicKey(B buffer, PublicKey key)
-
Uses of Buffer in org.apache.sshd.server.auth
Methods in org.apache.sshd.server.auth with parameters of type Buffer Modifier and Type Method Description Boolean
AbstractUserAuth. auth(ServerSession session, String username, String service, Buffer buffer)
Boolean
UserAuth. auth(ServerSession session, String username, String service, Buffer buffer)
Try to authenticate the user.protected abstract Boolean
AbstractUserAuth. doAuth(Buffer buffer, boolean init)
Boolean
UserAuthNone. doAuth(Buffer buffer, boolean init)
Boolean
AbstractUserAuth. next(Buffer buffer)
Boolean
UserAuth. next(Buffer buffer)
Handle another step in the authentication process. -
Uses of Buffer in org.apache.sshd.server.auth.gss
Methods in org.apache.sshd.server.auth.gss with parameters of type Buffer Modifier and Type Method Description protected Boolean
UserAuthGSS. doAuth(Buffer buffer, boolean initial)
-
Uses of Buffer in org.apache.sshd.server.auth.hostbased
Methods in org.apache.sshd.server.auth.hostbased with parameters of type Buffer Modifier and Type Method Description protected Boolean
UserAuthHostBased. doAuth(Buffer buffer, boolean init)
-
Uses of Buffer in org.apache.sshd.server.auth.keyboard
Methods in org.apache.sshd.server.auth.keyboard with type parameters of type Buffer Modifier and Type Method Description <B extends Buffer>
BInteractiveChallenge. append(B buffer)
<B extends Buffer>
BPromptEntry. append(B buffer)
Methods in org.apache.sshd.server.auth.keyboard with parameters of type Buffer Modifier and Type Method Description protected Boolean
UserAuthKeyboardInteractive. doAuth(Buffer buffer, boolean init)
protected Boolean
UserAuthKeyboardInteractive. doInitialAuth(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, Buffer buffer)
protected Boolean
UserAuthKeyboardInteractive. doValidateAuthResponse(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.server.auth.password
Methods in org.apache.sshd.server.auth.password with parameters of type Buffer Modifier and Type Method Description protected Boolean
UserAuthPassword. checkPassword(Buffer buffer, ServerSession session, String username, String password)
Invokes the configuredPasswordAuthenticator
and returns the result.Boolean
UserAuthPassword. doAuth(Buffer buffer, boolean init)
protected Boolean
UserAuthPassword. handleClientPasswordChangeRequest(Buffer buffer, ServerSession session, String username, String oldPassword, String newPassword)
Invoked when the client sends aSSH_MSG_USERAUTH_REQUEST
indicating a password change.protected Boolean
UserAuthPassword. handleServerPasswordChangeRequest(Buffer buffer, ServerSession session, String username, String password, PasswordChangeRequiredException e)
Invoked byUserAuthPassword.checkPassword(Buffer, ServerSession, String, String)
when aPasswordChangeRequiredException
was thrown by the authenticator. -
Uses of Buffer in org.apache.sshd.server.auth.pubkey
Methods in org.apache.sshd.server.auth.pubkey with parameters of type Buffer Modifier and Type Method Description Boolean
UserAuthPublicKey. doAuth(Buffer buffer, boolean init)
protected void
UserAuthPublicKey. sendPublicKeyResponse(ServerSession session, String username, String alg, PublicKey key, byte[] keyBlob, int offset, int blobLen, Buffer buffer)
protected boolean
UserAuthPublicKey. verifySignature(ServerSession session, String username, String alg, PublicKey key, Buffer buffer, Signature verifier, byte[] sig)
-
Uses of Buffer in org.apache.sshd.server.channel
Fields in org.apache.sshd.server.channel declared as Buffer Modifier and Type Field Description protected Buffer
ChannelSession. extendedDataBuffer
protected Buffer
ChannelSession. receiverBuffer
Methods in org.apache.sshd.server.channel with parameters of type Buffer Modifier and Type Method Description protected OpenFuture
AbstractServerChannel. doInit(Buffer buffer)
protected RequestHandler.Result
ChannelSession. handleAgentForwarding(String requestType, Buffer buffer, boolean wantReply)
protected RequestHandler.Result
ChannelSession. handleBreak(Buffer buffer, boolean wantReply)
protected RequestHandler.Result
ChannelSession. handleEnv(Buffer buffer, boolean wantReply)
protected RequestHandler.Result
ChannelSession. handleExec(String request, Buffer buffer, boolean wantReply)
protected RequestHandler.Result
ChannelSession. handleInternalRequest(String requestType, boolean wantReply, Buffer buffer)
void
AbstractServerChannel. handleOpenFailure(Buffer buffer)
void
AbstractServerChannel. handleOpenSuccess(int recipient, long rwSize, long packetSize, Buffer buffer)
protected RequestHandler.Result
ChannelSession. handlePtyReq(Buffer buffer, boolean wantReply)
protected RequestHandler.Result
ChannelSession. handleShell(String request, Buffer buffer, boolean wantReply)
protected RequestHandler.Result
ChannelSession. handleSignal(Buffer buffer, boolean wantReply)
protected RequestHandler.Result
ChannelSession. handleSubsystem(String request, Buffer buffer, boolean wantReply)
void
ChannelSession. handleWindowAdjust(Buffer buffer)
protected RequestHandler.Result
ChannelSession. handleWindowChange(Buffer buffer, boolean wantReply)
protected RequestHandler.Result
ChannelSession. handleX11Forwarding(String requestType, Buffer buffer, boolean wantReply)
OpenFuture
AbstractServerChannel. open(int recipient, long rwSize, long packetSize, Buffer buffer)
RequestHandler.Result
PuttyRequestHandler. process(Channel channel, String request, boolean wantReply, Buffer buffer)
protected RequestHandler.Result
PuttyRequestHandler. processPuttyOpcode(Channel channel, String request, String opcode, boolean wantReply, Buffer buffer)
protected IoWriteFuture
ChannelSession. sendResponse(Buffer buffer, String req, RequestHandler.Result result, boolean wantReply)
-
Uses of Buffer in org.apache.sshd.server.forward
Methods in org.apache.sshd.server.forward with parameters of type Buffer Modifier and Type Method Description protected OpenFuture
TcpipServerChannel. doInit(Buffer buffer)
-
Uses of Buffer in org.apache.sshd.server.global
Methods in org.apache.sshd.server.global with parameters of type Buffer Modifier and Type Method Description protected RequestHandler.Result
OpenSshHostKeysHandler. handleHostKeys(Session session, Collection<? extends PublicKey> keys, boolean wantReply, Buffer buffer)
RequestHandler.Result
CancelTcpipForwardHandler. process(ConnectionService connectionService, String request, boolean wantReply, Buffer buffer)
RequestHandler.Result
KeepAliveHandler. process(ConnectionService connectionService, String request, boolean wantReply, Buffer buffer)
RequestHandler.Result
NoMoreSessionsHandler. process(ConnectionService connectionService, String request, boolean wantReply, Buffer buffer)
RequestHandler.Result
TcpipForwardHandler. process(ConnectionService connectionService, String request, boolean wantReply, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.server.kex
Methods in org.apache.sshd.server.kex with parameters of type Buffer Modifier and Type Method Description boolean
DHGEXServer. next(int cmd, Buffer buffer)
boolean
DHGServer. next(int cmd, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.server.session
Methods in org.apache.sshd.server.session with parameters of type Buffer Modifier and Type Method Description boolean
ServerProxyAcceptor. acceptServerProxyMetadata(ServerSession session, Buffer buffer)
Invoked before any attempt is made to retrieve the SSH client identification data of the standard SSH protocol.protected void
ServerUserAuthService. asyncAuth(int cmd, Buffer buffer, boolean authed)
protected void
ServerUserAuthService. handleAuthenticationFailure(int cmd, Buffer buffer)
protected void
ServerUserAuthService. handleAuthenticationInProgress(int cmd, Buffer buffer)
protected void
ServerUserAuthService. handleAuthenticationSuccess(int cmd, Buffer buffer)
protected void
AbstractServerSession. handleServiceAccept(String serviceName, Buffer buffer)
protected boolean
AbstractServerSession. handleServiceRequest(String serviceName, Buffer buffer)
protected boolean
ServerUserAuthService. handleUserAuthRequestMessage(ServerSession session, Buffer buffer, AtomicReference<Boolean> authHolder)
void
ServerUserAuthService. process(int cmd, Buffer buffer)
protected boolean
AbstractServerSession. readIdentification(Buffer buffer)
IoWriteFuture
AbstractServerSession. signalAuthenticationSuccess(String username, String authService, Buffer buffer)
IoWriteFuture
ServerSession. signalAuthenticationSuccess(String username, String authService, Buffer buffer)
void
AbstractServerSession. startService(String name, Buffer buffer)
-
Uses of Buffer in org.apache.sshd.server.shell
Methods in org.apache.sshd.server.shell that return Buffer Modifier and Type Method Description protected Buffer
TtyFilterInputStream. insertCharacter(Buffer org, int c)
Methods in org.apache.sshd.server.shell with parameters of type Buffer Modifier and Type Method Description protected Buffer
TtyFilterInputStream. insertCharacter(Buffer org, int c)
-
Uses of Buffer in org.apache.sshd.server.subsystem.sftp
Fields in org.apache.sshd.server.subsystem.sftp declared as Buffer Modifier and Type Field Description protected Buffer
SftpSubsystem. buffer
protected static Buffer
SftpSubsystem. CLOSE
Fields in org.apache.sshd.server.subsystem.sftp with type parameters of type Buffer Modifier and Type Field Description protected BlockingQueue<Buffer>
SftpSubsystem. requests
Methods in org.apache.sshd.server.subsystem.sftp that return Buffer Modifier and Type Method Description protected abstract Buffer
AbstractSftpSubsystemHelper. prepareReply(Buffer buffer)
protected Buffer
SftpSubsystem. prepareReply(Buffer buffer)
Methods in org.apache.sshd.server.subsystem.sftp with parameters of type Buffer Modifier and Type Method Description protected int
AbstractSftpSubsystemHelper. appendAclSupportedExtension(Buffer buffer, ServerSession session)
protected void
AbstractSftpSubsystemHelper. appendExtensions(Buffer buffer, String supportedVersions)
protected void
AbstractSftpSubsystemHelper. appendNewlineExtension(Buffer buffer, ServerSession session)
Appends the "newline" extension to the buffer.protected List<AbstractOpenSSHExtensionParser.OpenSSHExtension>
AbstractSftpSubsystemHelper. appendOpenSSHExtensions(Buffer buffer, ServerSession session)
protected void
AbstractSftpSubsystemHelper. appendSupported2Extension(Buffer buffer, Collection<String> extras)
Appends the "supported2" extension to the buffer.protected void
AbstractSftpSubsystemHelper. appendSupportedExtension(Buffer buffer, Collection<String> extras)
Appends the "supported" extension to the buffer.protected void
AbstractSftpSubsystemHelper. appendVendorIdExtension(Buffer buffer, Map<String,?> versionProperties, ServerSession session)
Appends the "vendor-id" extension to the buffer.protected void
AbstractSftpSubsystemHelper. appendVersionsExtension(Buffer buffer, String value, ServerSession session)
Appends the "versions" extension to the buffer.protected Map.Entry<Integer,String>
AbstractSftpSubsystemHelper. checkVersionCompatibility(Buffer buffer, int id, int proposed, int failureOpcode)
Checks if a proposed version is within supported range.protected void
AbstractSftpSubsystemHelper. doBlock(Buffer buffer, int id)
protected abstract void
AbstractSftpSubsystemHelper. doCheckFileHash(int id, String targetType, String target, Collection<String> algos, long startOffset, long length, int blockSize, Buffer buffer)
protected void
AbstractSftpSubsystemHelper. doCheckFileHash(int id, Path file, NamedFactory<? extends Digest> factory, long startOffset, long length, int blockSize, Buffer buffer)
protected void
AbstractSftpSubsystemHelper. doCheckFileHash(Buffer buffer, int id, String targetType)
protected void
SftpSubsystem. doCheckFileHash(int id, String targetType, String target, Collection<String> algos, long startOffset, long length, int blockSize, Buffer buffer)
protected void
AbstractSftpSubsystemHelper. doClose(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doCopyData(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doCopyFile(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doExtended(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doFSetStat(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doFStat(Buffer buffer, int id)
protected abstract void
AbstractSftpSubsystemHelper. doInit(Buffer buffer, int id)
protected void
SftpSubsystem. doInit(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doLink(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doLStat(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doMakeDirectory(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doMD5Hash(Buffer buffer, int id, String targetType)
protected void
AbstractSftpSubsystemHelper. doOpen(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doOpenDir(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doOpenSSHFsync(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doOpenSSHHardLink(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doProcess(Buffer buffer, int length, int type, int id)
protected void
SftpSubsystem. doProcess(Buffer buffer, int length, int type, int id)
protected void
AbstractSftpSubsystemHelper. doRead(Buffer buffer, int id)
protected int
AbstractSftpSubsystemHelper. doReadDir(int id, String handle, DirectoryHandle dir, Buffer buffer, int maxSize, LinkOption... options)
protected abstract void
AbstractSftpSubsystemHelper. doReadDir(Buffer buffer, int id)
protected void
SftpSubsystem. doReadDir(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doReadLink(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doRealPath(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doRemove(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doRemoveDirectory(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doRename(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doSetStat(Buffer buffer, int id, String extension, int cmd, Boolean followLinks)
protected void
AbstractSftpSubsystemHelper. doSpaceAvailable(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doStat(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doSymLink(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doTextSeek(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doUnblock(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. doUnsupported(Buffer buffer, int length, int type, int id)
protected void
AbstractSftpSubsystemHelper. doUnsupportedExtension(Buffer buffer, int id, String extension)
protected void
AbstractSftpSubsystemHelper. doVersionSelect(Buffer buffer, int id)
protected abstract void
AbstractSftpSubsystemHelper. doVersionSelect(Buffer buffer, int id, String proposed)
protected void
SftpSubsystem. doVersionSelect(Buffer buffer, int id, String proposed)
protected void
AbstractSftpSubsystemHelper. doWrite(Buffer buffer, int id)
protected void
AbstractSftpSubsystemHelper. executeExtendedCommand(Buffer buffer, int id, String extension)
protected abstract Buffer
AbstractSftpSubsystemHelper. prepareReply(Buffer buffer)
protected Buffer
SftpSubsystem. prepareReply(Buffer buffer)
protected void
AbstractSftpSubsystemHelper. process(Buffer buffer)
Process an SFTP command.protected Map<String,Object>
AbstractSftpSubsystemHelper. readAttrs(Buffer buffer)
protected abstract void
AbstractSftpSubsystemHelper. send(Buffer buffer)
protected void
SftpSubsystem. send(Buffer buffer)
protected void
AbstractSftpSubsystemHelper. sendAttrs(Buffer buffer, int id, Map<String,?> attributes)
protected void
AbstractSftpSubsystemHelper. sendHandle(Buffer buffer, int id, String handle)
protected void
AbstractSftpSubsystemHelper. sendLink(Buffer buffer, int id, String link)
protected void
AbstractSftpSubsystemHelper. sendPath(Buffer buffer, int id, Path f, Map<String,?> attrs)
protected void
AbstractSftpSubsystemHelper. sendStatus(Buffer buffer, int id, int substatus, String msg)
protected void
AbstractSftpSubsystemHelper. sendStatus(Buffer buffer, int id, int substatus, String msg, String lang)
protected void
AbstractSftpSubsystemHelper. sendStatus(Buffer buffer, int id, Throwable e, int cmd, Object... args)
Invoked when an exception was thrown due to the execution of some SFTP commandprotected Boolean
AbstractSftpSubsystemHelper. validateProposedVersion(Buffer buffer, int id, String proposal)
protected void
AbstractSftpSubsystemHelper. writeAttrs(Buffer buffer, Map<String,?> attributes)
protected void
AbstractSftpSubsystemHelper. writeDirEntry(int id, DirectoryHandle dir, Map<String,Path> entries, Buffer buffer, int index, Path f, String shortName, LinkOption... options)
-