RETURN - The type of the generated message which is returned.public class AuthenticatedValueFuture<RETURN extends com.google.protobuf.GeneratedMessage> extends AuthenticatedFuture<RETURN,rst.domotic.authentication.AuthenticatedValueType.AuthenticatedValue>
| Constructor and Description |
|---|
AuthenticatedValueFuture(Future<rst.domotic.authentication.AuthenticatedValueType.AuthenticatedValue> internalFuture,
Class<RETURN> returnValueClass,
rst.domotic.authentication.TicketAuthenticatorWrapperType.TicketAuthenticatorWrapper ticketAuthenticatorWrapper)
Create a new AuthenticatedValueFuture with the default session manager.
|
AuthenticatedValueFuture(Future<rst.domotic.authentication.AuthenticatedValueType.AuthenticatedValue> internalFuture,
Class<RETURN> returnValueClass,
rst.domotic.authentication.TicketAuthenticatorWrapperType.TicketAuthenticatorWrapper ticketAuthenticatorWrapper,
SessionManager sessionManager)
Create a new AuthenticatedValueFuture
|
| Modifier and Type | Method and Description |
|---|---|
protected RETURN |
convertFromInternal(rst.domotic.authentication.AuthenticatedValueType.AuthenticatedValue authenticatedValue)
Decrypt the value inside the authenticated value or parse from byte string if no one is logged in.
|
protected rst.domotic.authentication.TicketAuthenticatorWrapperType.TicketAuthenticatorWrapper |
getTicketFromInternal(rst.domotic.authentication.AuthenticatedValueType.AuthenticatedValue internalType)
Method defining how to get the ticket from the result of the internal future.
|
cancel, get, get, getReturnClass, getSessionManager, isCancelled, isDonepublic AuthenticatedValueFuture(Future<rst.domotic.authentication.AuthenticatedValueType.AuthenticatedValue> internalFuture, Class<RETURN> returnValueClass, rst.domotic.authentication.TicketAuthenticatorWrapperType.TicketAuthenticatorWrapper ticketAuthenticatorWrapper)
internalFuture - The internal future.returnValueClass - Class of type RETURN.ticketAuthenticatorWrapper - The ticket used for the request.public AuthenticatedValueFuture(Future<rst.domotic.authentication.AuthenticatedValueType.AuthenticatedValue> internalFuture, Class<RETURN> returnValueClass, rst.domotic.authentication.TicketAuthenticatorWrapperType.TicketAuthenticatorWrapper ticketAuthenticatorWrapper, SessionManager sessionManager)
internalFuture - The internal future.returnValueClass - Class of type RETURN.ticketAuthenticatorWrapper - The ticket used for the request.sessionManager - Session manager that is used to verify the response.protected rst.domotic.authentication.TicketAuthenticatorWrapperType.TicketAuthenticatorWrapper getTicketFromInternal(rst.domotic.authentication.AuthenticatedValueType.AuthenticatedValue internalType)
getTicketFromInternal in class AuthenticatedFuture<RETURN extends com.google.protobuf.GeneratedMessage,rst.domotic.authentication.AuthenticatedValueType.AuthenticatedValue>internalType - The result from the internal future.protected RETURN convertFromInternal(rst.domotic.authentication.AuthenticatedValueType.AuthenticatedValue authenticatedValue) throws org.openbase.jul.exception.CouldNotPerformException
convertFromInternal in class AuthenticatedFuture<RETURN extends com.google.protobuf.GeneratedMessage,rst.domotic.authentication.AuthenticatedValueType.AuthenticatedValue>authenticatedValue - The result from the internal future.org.openbase.jul.exception.CouldNotPerformException - If the decryption failed or the message cannot be parsed from a byte string.Copyright © 2017–2018 openbase.org. All rights reserved.