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.
|
protected void |
requesting(ExtendedDataOutputStream out,
OMMonitor monitor) |
confirming, getCancelationExecutorService, getCancelationPollInterval, getConfirmingWorkPercent, getMonitorProgressSeconds, getMonitorTimeoutSeconds, getRequestingWorkPercent, requesting, send, send, send, send, sendAsync, sendAsync
getAsyncExecutorService
execute
closeChannelAfterMe, closeInputStreamAfterMe, closeOutputStreamAfterMe, finishInputStream, finishOutputStream, flush, getAdditionalInfo, 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) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html