Class IdUHandlerDisconnected
java.lang.Object
com.io7m.idstore.user_client.internal.IdUHandlerAbstract
com.io7m.idstore.user_client.internal.IdUHandlerDisconnected
- All Implemented Interfaces:
com.io7m.hibiscus.basic.HBClientHandlerType<IdUClientException,,IdUCommandType<?>, IdUResponseType, IdUResponseType, IdUResponseError, IdUClientEventType, IdUClientCredentials> IdUHandlerType
The initial "disconnected" protocol handler.
-
Constructor Summary
ConstructorsConstructorDescriptionIdUHandlerDisconnected(IdUClientConfiguration inConfiguration, IdStrings inStrings, HttpClient inHttpClient) Construct a handler. -
Method Summary
Modifier and TypeMethodDescriptionvoidcom.io7m.hibiscus.api.HBResultType<IdUResponseType,IdUResponseError> onExecuteCommand(IdUCommandType<?> command) com.io7m.hibiscus.api.HBResultType<com.io7m.hibiscus.basic.HBClientNewHandler<IdUClientException,IdUCommandType<?>, IdUResponseType, IdUResponseType, IdUResponseError, IdUClientEventType, IdUClientCredentials>, IdUResponseError> onExecuteLogin(IdUClientCredentials credentials) booleanMethods inherited from class com.io7m.idstore.user_client.internal.IdUHandlerAbstract
configuration, httpClient, local, strings
-
Constructor Details
-
IdUHandlerDisconnected
public IdUHandlerDisconnected(IdUClientConfiguration inConfiguration, IdStrings inStrings, HttpClient inHttpClient) Construct a handler.- Parameters:
inConfiguration- The configurationinStrings- The string resourcesinHttpClient- The client
-
-
Method Details
-
onIsConnected
public boolean onIsConnected() -
onPollEvents
-
onExecuteLogin
public com.io7m.hibiscus.api.HBResultType<com.io7m.hibiscus.basic.HBClientNewHandler<IdUClientException,IdUCommandType<?>, onExecuteLoginIdUResponseType, IdUResponseType, IdUResponseError, IdUClientEventType, IdUClientCredentials>, IdUResponseError> (IdUClientCredentials credentials) throws InterruptedException - Throws:
InterruptedException
-
onExecuteCommand
public com.io7m.hibiscus.api.HBResultType<IdUResponseType,IdUResponseError> onExecuteCommand(IdUCommandType<?> command) -
onDisconnect
public void onDisconnect()
-