Uses of Class
net.schmizz.concurrent.Promise
-
Packages that use Promise Package Description net.schmizz.concurrent net.schmizz.keepalive net.schmizz.sshj.connection net.schmizz.sshj.sftp net.schmizz.sshj.userauth -
-
Uses of Promise in net.schmizz.concurrent
Fields in net.schmizz.concurrent declared as Promise Modifier and Type Field Description private Promise<java.lang.Object,T>
Event. promise
Methods in net.schmizz.concurrent with parameters of type Promise Modifier and Type Method Description static void
ErrorDeliveryUtil. alertPromises(java.lang.Throwable x, Promise<?,?>... promises)
Method parameters in net.schmizz.concurrent with type arguments of type Promise Modifier and Type Method Description static void
ErrorDeliveryUtil. alertPromises(java.lang.Throwable x, java.util.Collection<? extends Promise<?,?>> promises)
-
Uses of Promise in net.schmizz.keepalive
Fields in net.schmizz.keepalive with type parameters of type Promise Modifier and Type Field Description private java.util.Queue<Promise<SSHPacket,ConnectionException>>
KeepAliveRunner. queue
The queue of promises.Method parameters in net.schmizz.keepalive with type arguments of type Promise Modifier and Type Method Description private void
KeepAliveRunner. checkMaxReached(java.util.Queue<Promise<SSHPacket,ConnectionException>> queue)
private void
KeepAliveRunner. emptyQueue(java.util.Queue<Promise<SSHPacket,ConnectionException>> queue)
-
Uses of Promise in net.schmizz.sshj.connection
Fields in net.schmizz.sshj.connection with type parameters of type Promise Modifier and Type Field Description private java.util.Queue<Promise<SSHPacket,ConnectionException>>
ConnectionImpl. globalReqPromises
Methods in net.schmizz.sshj.connection that return Promise Modifier and Type Method Description Promise<SSHPacket,ConnectionException>
Connection. sendGlobalRequest(java.lang.String name, boolean wantReply, byte[] specifics)
Send an SSH global request.Promise<SSHPacket,ConnectionException>
ConnectionImpl. sendGlobalRequest(java.lang.String name, boolean wantReply, byte[] specifics)
-
Uses of Promise in net.schmizz.sshj.sftp
Fields in net.schmizz.sshj.sftp declared as Promise Modifier and Type Field Description private Promise<Response,SFTPException>
RemoteFile.ReadAheadRemoteFileInputStream.UnconfirmedRead. promise
Fields in net.schmizz.sshj.sftp with type parameters of type Promise Modifier and Type Field Description private java.util.Map<java.lang.Long,Promise<Response,SFTPException>>
PacketReader. promises
private java.util.Queue<Promise<Response,SFTPException>>
RemoteFile.RemoteFileOutputStream. unconfirmedWrites
Methods in net.schmizz.sshj.sftp that return Promise Modifier and Type Method Description protected Promise<Response,SFTPException>
RemoteFile. asyncRead(long fileOffset, int len)
protected Promise<Response,SFTPException>
RemoteFile. asyncWrite(long fileOffset, byte[] data, int off, int len)
Promise<Response,SFTPException>
PacketReader. expectResponseTo(long requestId)
Promise<Response,SFTPException>
RemoteFile.ReadAheadRemoteFileInputStream.UnconfirmedRead. getPromise()
Promise<Response,SFTPException>
Requester. request(Request req)
Promise<Response,SFTPException>
SFTPEngine. request(Request req)
Methods in net.schmizz.sshj.sftp with parameters of type Promise Modifier and Type Method Description private void
RemoteFile. checkWriteResponse(Promise<Response,SFTPException> responsePromise)
Constructors in net.schmizz.sshj.sftp with parameters of type Promise Constructor Description UnconfirmedRead(long offset, int length, Promise<Response,SFTPException> promise)
-
Uses of Promise in net.schmizz.sshj.userauth
Fields in net.schmizz.sshj.userauth declared as Promise Modifier and Type Field Description private Promise<java.lang.Boolean,UserAuthException>
UserAuthImpl. authenticated
-