public abstract class AbstractBackendRequest extends java.lang.Object implements BackendRequestI
DEFAULT_TIMEOUT_COMPLEX_COMMANDS, DEFAULT_TIMEOUT_CONCISE_COMMANDS, DEFAULT_TIMEOUT_MEDIUM_COMMANDS, DEFAULT_TIMEOUT_SIMPLE_COMMANDS
Constructor and Description |
---|
AbstractBackendRequest(int _cmd) |
Modifier and Type | Method and Description |
---|---|
void |
calculateResponse(L10nCurrentLocaleProviderI localeProviderForThread,
java.lang.String threadName) |
BackendCommandHandlerI |
getBCH() |
int |
getCommand() |
java.lang.String |
getCommandString() |
java.lang.String |
getDefaultExceptionPrefix() |
ProgressDisplayI |
getProgressDisplay() |
java.lang.Exception |
getResponseException() |
java.lang.Object[] |
getResults() |
BackendSessionI |
getSession() |
java.lang.Integer |
getSlot() |
DBManUserContextI |
getUtx() |
void |
initClientSide(java.lang.String _serverAddress,
int _getResultsTimeoutSeconds) |
void |
initServerSide(java.lang.Integer _slot,
BackendCommandHandlerI _backendCommandHandler) |
boolean |
isAllowedUnauthenticated() |
boolean |
isParallelProcessAndWrite() |
void |
prepareRequest() |
boolean |
receiveResponse(TransportProviderI transportProvider,
TransportI transport) |
boolean |
releaseTransport() |
void |
sendRequest(TransportI transport) |
void |
setException(java.lang.Exception e)
Sets the passed exception in the future-object.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processRequest, readRequestParameters, writeRequestResults
public void setException(java.lang.Exception e)
BackendRequestI
setException
in interface BackendRequestI
public int getCommand()
public java.lang.String getCommandString()
getCommandString
in interface BackendRequestI
public java.lang.String getDefaultExceptionPrefix()
getDefaultExceptionPrefix
in interface BackendRequestI
public java.lang.Integer getSlot()
getSlot
in interface BackendRequestI
public ProgressDisplayI getProgressDisplay()
public boolean releaseTransport()
releaseTransport
in interface BackendRequestI
public boolean isAllowedUnauthenticated()
isAllowedUnauthenticated
in interface BackendRequestI
public BackendCommandHandlerI getBCH()
public DBManUserContextI getUtx()
public BackendSessionI getSession()
public void initClientSide(java.lang.String _serverAddress, int _getResultsTimeoutSeconds)
initClientSide
in interface BackendRequestI
public void prepareRequest()
prepareRequest
in interface BackendRequestI
public void sendRequest(TransportI transport) throws ServerConnectionException
sendRequest
in interface BackendRequestI
ServerConnectionException
public boolean receiveResponse(TransportProviderI transportProvider, TransportI transport)
receiveResponse
in interface BackendRequestI
public java.lang.Object[] getResults() throws ServerConnectionException
getResults
in interface BackendRequestI
ServerConnectionException
public void initServerSide(java.lang.Integer _slot, BackendCommandHandlerI _backendCommandHandler)
initServerSide
in interface BackendRequestI
public void calculateResponse(L10nCurrentLocaleProviderI localeProviderForThread, java.lang.String threadName)
calculateResponse
in interface BackendRequestI
public java.lang.Exception getResponseException()
getResponseException
in interface BackendRequestI
public boolean isParallelProcessAndWrite()
isParallelProcessAndWrite
in interface BackendRequestI
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.