public interface RequestChannel
| Modifier and Type | Method and Description |
|---|---|
<T extends ServiceResponse> |
serviceRequest(ServiceRequest<T> request)
Sends a request over the secure channel.
|
<T extends ServiceResponse> |
serviceRequestAsync(ServiceRequest<T> request)
Asynchronous operation to send a request over the secure channel.
|
<T extends ServiceResponse> T serviceRequest(ServiceRequest<T> request) throws ServiceResultException
If the operation timeouts or the thread is interrupted a ServiceResultException is thrown with
StatusCodes.Bad_Timeout.
T - type of the response (determined automatically from the request).request - the requestServiceResultException - if error<T extends ServiceResponse> AsyncResult<T> serviceRequestAsync(ServiceRequest<T> request)
T - type of the response (determined automatically from the request).request - the requestCopyright © 2026. All rights reserved.