Class IdUClientSynchronous
java.lang.Object
com.io7m.hibiscus.basic.HBClientSynchronousAbstract<IdUClientException,IdUCommandType<?>,IdUResponseType,IdUResponseType,IdUResponseError,IdUClientEventType,IdUClientCredentials>
com.io7m.idstore.user_client.internal.IdUClientSynchronous
- All Implemented Interfaces:
com.io7m.hibiscus.api.HBClientCloseableType<IdUClientException>,com.io7m.hibiscus.api.HBClientStatusType<IdUClientEventType>,com.io7m.hibiscus.api.HBClientSynchronousOperationsType<IdUClientException,,IdUCommandType<?>, IdUResponseType, IdUResponseType, IdUResponseError, IdUClientCredentials> com.io7m.hibiscus.api.HBClientSynchronousType<IdUClientException,,IdUCommandType<?>, IdUResponseType, IdUResponseType, IdUResponseError, IdUClientEventType, IdUClientCredentials> IdUClientSynchronousType,AutoCloseable
public final class IdUClientSynchronous
extends com.io7m.hibiscus.basic.HBClientSynchronousAbstract<IdUClientException,IdUCommandType<?>,IdUResponseType,IdUResponseType,IdUResponseError,IdUClientEventType,IdUClientCredentials>
implements IdUClientSynchronousType
The synchronous client.
-
Constructor Summary
ConstructorsConstructorDescriptionIdUClientSynchronous(IdUClientConfiguration inConfiguration, IdUStrings inStrings, HttpClient inHttpClient) The synchronous client. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonCommandExecuteFailed(IdUCommandType<?> command, IdUResponseError result) protected voidonCommandExecuteSucceeded(IdUCommandType<?> command, IdUResponseType result) protected voidonLoginExecuteFailed(IdUClientCredentials credentials, IdUResponseError result) protected voidonLoginExecuteSucceeded(IdUClientCredentials credentials, IdUResponseType result) Methods inherited from class com.io7m.hibiscus.basic.HBClientSynchronousAbstract
checkNotClosingOrClosed, close, currentHandler, disconnect, eventPublisher, events, execute, isClosed, isConnected, login, pollEvents, state, stateNow, statePublisherMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.io7m.hibiscus.api.HBClientCloseableType
close, isClosedMethods inherited from interface com.io7m.hibiscus.api.HBClientStatusType
events, isConnected, state, stateNowMethods inherited from interface com.io7m.hibiscus.api.HBClientSynchronousOperationsType
disconnect, execute, login, pollEventsMethods inherited from interface com.io7m.hibiscus.api.HBClientSynchronousType
executeOrElseThrow, loginOrElseThrow
-
Constructor Details
-
IdUClientSynchronous
public IdUClientSynchronous(IdUClientConfiguration inConfiguration, IdUStrings inStrings, HttpClient inHttpClient) The synchronous client.- Parameters:
inConfiguration- The configurationinHttpClient- The HTTP clientinStrings- The string resources
-
-
Method Details
-
onCommandExecuteSucceeded
- Specified by:
onCommandExecuteSucceededin classcom.io7m.hibiscus.basic.HBClientSynchronousAbstract<IdUClientException,IdUCommandType<?>, IdUResponseType, IdUResponseType, IdUResponseError, IdUClientEventType, IdUClientCredentials>
-
onCommandExecuteFailed
- Specified by:
onCommandExecuteFailedin classcom.io7m.hibiscus.basic.HBClientSynchronousAbstract<IdUClientException,IdUCommandType<?>, IdUResponseType, IdUResponseType, IdUResponseError, IdUClientEventType, IdUClientCredentials>
-
onLoginExecuteSucceeded
- Specified by:
onLoginExecuteSucceededin classcom.io7m.hibiscus.basic.HBClientSynchronousAbstract<IdUClientException,IdUCommandType<?>, IdUResponseType, IdUResponseType, IdUResponseError, IdUClientEventType, IdUClientCredentials>
-
onLoginExecuteFailed
- Specified by:
onLoginExecuteFailedin classcom.io7m.hibiscus.basic.HBClientSynchronousAbstract<IdUClientException,IdUCommandType<?>, IdUResponseType, IdUResponseType, IdUResponseError, IdUClientEventType, IdUClientCredentials>
-