public class AuthenticationRequest extends RequestWithMonitoring<DiffieHellman.Client.Response>
DEFAULT_CANCELATION_POLL_INTERVAL, DEFAULT_MONITOR_PROGRESS_SECONDS, DEFAULT_MONITOR_TIMEOUT_SECONDS
NO_TIMEOUT
Constructor and Description |
---|
AuthenticationRequest(SignalProtocol<?> protocol,
Enum<?> literal,
DiffieHellman.Server.Challenge challenge) |
AuthenticationRequest(SignalProtocol<?> protocol,
short signalID,
DiffieHellman.Server.Challenge challenge) |
AuthenticationRequest(SignalProtocol<?> protocol,
short id,
String name,
DiffieHellman.Server.Challenge challenge) |
Modifier and Type | Method and Description |
---|---|
protected DiffieHellman.Client.Response |
confirming(ExtendedDataInputStream in,
OMMonitor monitor)
Important Note: The confirmation must not be empty, i.e. the stream must be used at least to read a
boolean . |
protected void |
requesting(ExtendedDataOutputStream out,
OMMonitor monitor) |
confirming, getCancelationExecutorService, getCancelationPollInterval, getConfirmingWorkPercent, getMonitorProgressSeconds, getMonitorTimeoutSeconds, getRequestingWorkPercent, requesting, send, send, send, send, sendAsync, sendAsync
getAsyncExecutorService
execute
finishInputStream, finishOutputStream, flush, getBufferInputStream, getBufferOutputStream, getCorrelationID, getCurrentInputStream, getCurrentOutputStream, getID, getName, getProtocol, run, toString, wrapInputStream, wrapOutputStream
public AuthenticationRequest(SignalProtocol<?> protocol, short id, String name, DiffieHellman.Server.Challenge challenge)
public AuthenticationRequest(SignalProtocol<?> protocol, short signalID, DiffieHellman.Server.Challenge challenge)
public AuthenticationRequest(SignalProtocol<?> protocol, Enum<?> literal, DiffieHellman.Server.Challenge challenge)
protected void requesting(ExtendedDataOutputStream out, OMMonitor monitor) throws Exception
requesting
in class RequestWithMonitoring<DiffieHellman.Client.Response>
Exception
protected DiffieHellman.Client.Response confirming(ExtendedDataInputStream in, OMMonitor monitor) throws Exception
RequestWithMonitoring
boolean
. Otherwise synchronization problems will result!confirming
in class RequestWithMonitoring<DiffieHellman.Client.Response>
Exception
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.