Uses of Interface
org.apache.sshd.common.io.IoWriteFuture
Packages that use IoWriteFuture
Package
Description
-
Uses of IoWriteFuture in org.apache.sshd.client.auth.password
Methods in org.apache.sshd.client.auth.password that return IoWriteFutureModifier and TypeMethodDescriptionprotected IoWriteFuture
UserAuthPassword.sendPassword
(Buffer buffer, ClientSession session, String oldPassword, String newPassword) Sends the password via aSSH_MSG_USERAUTH_REQUEST
message. -
Uses of IoWriteFuture in org.apache.sshd.client.session
Methods in org.apache.sshd.client.session that return IoWriteFutureModifier and TypeMethodDescriptionprotected IoWriteFuture
AbstractClientSession.sendClientIdentification()
protected IoWriteFuture
ClientUserAuthService.sendInitialAuthRequest
(ClientSession session, String service) -
Uses of IoWriteFuture in org.apache.sshd.common.channel
Classes in org.apache.sshd.common.channel that implement IoWriteFutureModifier and TypeClassDescriptionprotected static class
Marker type to avoid repeated buffering inChannelAsyncOutputStream.writePacket(IoWriteFutureImpl, boolean)
.class
protected static class
Fields in org.apache.sshd.common.channel with type parameters of type IoWriteFutureModifier and TypeFieldDescriptionprivate AtomicReference
<IoWriteFuture> AbstractChannel.eofFuture
protected final AtomicReference
<IoWriteFuture> ChannelAsyncOutputStream.lastWrite
The future describing the last executed *buffer* writeChannelAsyncOutputStream.writeBuffer(Buffer)
.Methods in org.apache.sshd.common.channel that return IoWriteFutureModifier and TypeMethodDescriptionprotected IoWriteFuture
AbstractChannel.sendEof()
SendsSSH_MSG_CHANNEL_EOF
provided not already sent and current channel state allows it.protected IoWriteFuture
AbstractChannel.sendResponse
(Buffer buffer, String req, RequestHandler.Result result, boolean wantReply) BufferedIoOutputStream.writeBuffer
(Buffer buffer) ChannelAsyncOutputStream.writeBuffer
(Buffer buffer) Write the given buffer.SimpleIoOutputStream.writeBuffer
(Buffer buffer) AbstractChannel.writePacket
(Buffer buffer) Channel.writePacket
(Buffer buffer) Encode and send the given buffer.Methods in org.apache.sshd.common.channel with parameters of type IoWriteFutureModifier and TypeMethodDescriptionprotected void
ChannelAsyncOutputStream.onWritten
(IoWriteFutureImpl future, int total, int length, IoWriteFuture f) -
Uses of IoWriteFuture in org.apache.sshd.common.channel.throttle
Methods in org.apache.sshd.common.channel.throttle that return IoWriteFutureModifier and TypeMethodDescriptionEncode and send the given data packet buffer. -
Uses of IoWriteFuture in org.apache.sshd.common.future
Methods in org.apache.sshd.common.future with parameters of type IoWriteFutureModifier and TypeMethodDescriptionvoid
GlobalRequestFuture.operationComplete
(IoWriteFuture future) -
Uses of IoWriteFuture in org.apache.sshd.common.io
Classes in org.apache.sshd.common.io that implement IoWriteFutureMethods in org.apache.sshd.common.io that return IoWriteFutureModifier and TypeMethodDescriptionstatic IoWriteFuture
AbstractIoWriteFuture.verify
(long timeout, CancelOption... options) IoOutputStream.writeBuffer
(Buffer buffer) Write the given buffer.IoSession.writeBuffer
(Buffer buffer) Write a packet on the socket. -
Uses of IoWriteFuture in org.apache.sshd.common.io.nio2
Classes in org.apache.sshd.common.io.nio2 that implement IoWriteFutureMethods in org.apache.sshd.common.io.nio2 that return IoWriteFuture -
Uses of IoWriteFuture in org.apache.sshd.common.session
Methods in org.apache.sshd.common.session that return IoWriteFutureModifier and TypeMethodDescriptionSession.sendDebugMessage
(boolean display, Object msg, String lang) Sends anSSH_MSG_DEBUG
to the peer sessiondefault IoWriteFuture
ReservedSessionMessagesHandler.sendIdentification
(Session session, String version, List<String> extraLines) Send the initial version exchange identification in and independent mannerSession.sendIgnoreMessage
(byte... data) Sends anSSH_MSG_IGNORE
to the peer sessiondefault IoWriteFuture
ReservedSessionMessagesHandler.sendKexInitRequest
(Session session, Map<KexProposalOption, String> proposal, Buffer packet) Invoked before sending theSSH_MSG_KEXINIT
packetSession.writePacket
(Buffer buffer) Encode and send the given buffer.default IoWriteFuture
Session.writePacket
(Buffer buffer, long maxWaitMillis) Encode and send the given buffer with the specified timeout.Session.writePacket
(Buffer buffer, long timeout, TimeUnit unit) Encode and send the given buffer with the specified timeout.default IoWriteFuture
Session.writePacket
(Buffer buffer, Duration timeout) Encode and send the given buffer with the specified timeout. -
Uses of IoWriteFuture in org.apache.sshd.common.session.helpers
Classes in org.apache.sshd.common.session.helpers that implement IoWriteFutureModifier and TypeClassDescriptionclass
Future holding a packet pending key exchange termination.Methods in org.apache.sshd.common.session.helpers that return IoWriteFutureModifier and TypeMethodDescriptionprotected IoWriteFuture
AbstractSession.doWritePacket
(Buffer buffer) protected IoWriteFuture
AbstractConnectionService.globalRequest
(Buffer buffer) Process global requestsprotected IoWriteFuture
AbstractConnectionService.handleUnknownRequest
(Buffer buffer, String req, boolean wantReply) protected IoWriteFuture
AbstractSession.notImplemented
(int cmd, Buffer buffer) Send aSSH_MSG_UNIMPLEMENTED
packet.protected IoWriteFuture
AbstractConnectionService.sendChannelOpenFailure
(Buffer buffer, long sender, int reasonCode, String message, String lang) SessionHelper.sendDebugMessage
(boolean display, Object msg, String lang) protected IoWriteFuture
DefaultUnknownChannelReferenceHandler.sendFailureResponse
(ConnectionService service, byte cmd, long channelId) protected IoWriteFuture
AbstractConnectionService.sendGlobalResponse
(Buffer buffer, String req, RequestHandler.Result result, boolean wantReply) ReservedSessionMessagesHandlerAdapter.sendIdentification
(Session session, String version, List<String> extraLines) protected IoWriteFuture
SessionHelper.sendIdentification
(String version, List<String> extraLines) Send our identification.SessionHelper.sendIgnoreMessage
(byte... data) protected IoWriteFuture
AbstractSession.sendNewKeys()
Send a message to put new keys into use.protected IoWriteFuture
SessionHelper.sendNotImplemented
(long seqNoValue) Sends aSSH_MSG_UNIMPLEMENTED
messageprotected IoWriteFuture
KeyExchangeMessageHandler.writeOrEnqueue
(int cmd, Buffer buffer, long timeout, TimeUnit unit) Writes an SSH packet.AbstractSession.writePacket
(Buffer buffer) AbstractSession.writePacket
(Buffer buffer, long timeout, TimeUnit unit) KeyExchangeMessageHandler.writePacket
(Buffer buffer, long timeout, TimeUnit unit) Writes a packet.Methods in org.apache.sshd.common.session.helpers with parameters of type IoWriteFutureModifier and TypeMethodDescriptionprivate void
KeyExchangeMessageHandler.drainQueueTo
(List<AbstractMap.SimpleImmutableEntry<PendingWriteFuture, IoWriteFuture>> pendingAborted, IoWriteFuture aborted) void
PendingWriteFuture.operationComplete
(IoWriteFuture future) Method parameters in org.apache.sshd.common.session.helpers with type arguments of type IoWriteFutureModifier and TypeMethodDescriptionprivate void
KeyExchangeMessageHandler.drainQueueTo
(List<AbstractMap.SimpleImmutableEntry<PendingWriteFuture, IoWriteFuture>> pendingAborted, IoWriteFuture aborted) -
Uses of IoWriteFuture in org.apache.sshd.server.channel
Methods in org.apache.sshd.server.channel that return IoWriteFutureModifier and TypeMethodDescriptionprotected IoWriteFuture
ChannelSession.sendResponse
(Buffer buffer, String req, RequestHandler.Result result, boolean wantReply) -
Uses of IoWriteFuture in org.apache.sshd.server.session
Methods in org.apache.sshd.server.session that return IoWriteFutureModifier and TypeMethodDescriptionprotected IoWriteFuture
AbstractServerSession.sendServerIdentification
(List<String> headerLines) Sends the server identification + any extra header linesServerUserAuthService.sendWelcomeBanner
(ServerSession session) Sends the welcome banner (if any configured) and if not already invokedAbstractServerSession.signalAuthenticationSuccess
(String username, String authService, Buffer buffer) ServerSession.signalAuthenticationSuccess
(String username, String authService, Buffer buffer) -
Uses of IoWriteFuture in org.apache.sshd.sftp.client
Fields in org.apache.sshd.sftp.client declared as IoWriteFutureMethods in org.apache.sshd.sftp.client that return IoWriteFutureModifier and TypeMethodDescriptionSftpMessage.getFuture()
Retrieves theIoWriteFuture
of the message; can be used to wait until the message has been actually sent.Constructors in org.apache.sshd.sftp.client with parameters of type IoWriteFutureModifierConstructorDescriptionSftpMessage
(int id, IoWriteFuture future, Duration timeout) Creates a new instance.