Class IdUTransport1
java.lang.Object
com.io7m.idstore.user_client.internal.IdUTransport1
- All Implemented Interfaces:
- com.io7m.hibiscus.api.HBClientCloseableType<IdUClientException>,- com.io7m.hibiscus.api.HBIOOperationsType<IdUMessageType,,- IdUClientException> - com.io7m.hibiscus.api.HBTransportType<IdUMessageType,,- IdUClientException> - IdUTransportType,- AutoCloseable
The version 1 transport.
- 
Constructor SummaryConstructorsConstructorDescriptionIdUTransport1(IdStrings inStrings, HttpClient inHttpClient, URI baseURI) The version 1 transport.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()booleanisClosed()com.io7m.hibiscus.api.HBReadType<IdUMessageType> voidsend(IdUMessageType message) voidsendAndForget(IdUMessageType message) sendAndWait(IdUMessageType message, Duration timeout) 
- 
Constructor Details- 
IdUTransport1The version 1 transport.- Parameters:
- inStrings- The string resources
- inHttpClient- The HTTP client
- baseURI- The base URI
 
 
- 
- 
Method Details- 
isClosedpublic boolean isClosed()- Specified by:
- isClosedin interface- com.io7m.hibiscus.api.HBClientCloseableType<IdUClientException>
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- com.io7m.hibiscus.api.HBClientCloseableType<IdUClientException>
- Throws:
- IdUClientException
 
- 
receivepublic com.io7m.hibiscus.api.HBReadType<IdUMessageType> receive(Duration timeout) throws IdUClientException, InterruptedException - Specified by:
- receivein interface- com.io7m.hibiscus.api.HBIOOperationsType<IdUMessageType,- IdUClientException> 
- Throws:
- IdUClientException
- InterruptedException
 
- 
send- Specified by:
- sendin interface- com.io7m.hibiscus.api.HBIOOperationsType<IdUMessageType,- IdUClientException> 
- Throws:
- IdUClientException
- InterruptedException
 
- 
sendAndForget- Specified by:
- sendAndForgetin interface- com.io7m.hibiscus.api.HBIOOperationsType<IdUMessageType,- IdUClientException> 
- Throws:
- IdUClientException
- InterruptedException
 
- 
sendAndWaitpublic IdUMessageType sendAndWait(IdUMessageType message, Duration timeout) throws IdUClientException, InterruptedException, TimeoutException - Specified by:
- sendAndWaitin interface- com.io7m.hibiscus.api.HBIOOperationsType<IdUMessageType,- IdUClientException> 
- Throws:
- IdUClientException
- InterruptedException
- TimeoutException
 
 
-