|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITransportChannel
ITransportChannel interface.
| Nested Class Summary | |
|---|---|
static class |
ITransportChannel.TransportChannelFeature
|
| Method Summary | |
|---|---|
void |
dispose()
dispose. |
EndpointConfiguration |
getEndpointConfiguration()
getEndpointConfiguration. |
EndpointDescription |
getEndpointDescription()
getEndpointDescription. |
EncoderContext |
getMessageContext()
getMessageContext. |
int |
getOperationTimeout()
Get operation timeout |
EnumSet<ITransportChannel.TransportChannelFeature> |
getSupportedFeatures()
Get a list of features supported by the channel. |
void |
initialize(String url,
TransportChannelSettings settings,
EncoderContext ctx)
Initialize a secure channel with endpoint identified by the URL. |
ServiceResponse |
serviceRequest(ServiceRequest request)
Send a service request over the secure channel. |
ServiceResponse |
serviceRequest(ServiceRequest request,
long operationTimeout)
Send a service request over the secure channel. |
AsyncResult<ServiceResponse> |
serviceRequestAsync(ServiceRequest request)
Asynchronous operation to send a request over the secure channel. |
AsyncResult<ServiceResponse> |
serviceRequestAsync(ServiceRequest request,
long operationTimeout)
Asynchronous operation to send a request over the secure channel. |
void |
setOperationTimeout(int timeout)
Set operation timeout |
| Method Detail |
|---|
void initialize(String url,
TransportChannelSettings settings,
EncoderContext ctx)
throws ServiceResultException
url - a String object.settings - a TransportChannelSettings object.ctx - a EncoderContext object.
ServiceResultException - if any.
ServiceResponse serviceRequest(ServiceRequest request)
throws ServiceResultException
If the operation timeouts or the thread is interrupted a
ServiceResultException is thrown with StatusCodes.Bad_Timeout.
request - a ServiceRequest object.
ServiceResponse object.
ServiceResultException - if any.AsyncResult<ServiceResponse> serviceRequestAsync(ServiceRequest request)
request - the request
ServiceResponse serviceRequest(ServiceRequest request,
long operationTimeout)
throws ServiceResultException
If the operation timeouts or the operation is interrupted and a
ServiceResultException is thrown with StatusCodes.Bad_Timeout.
request - a ServiceRequest object.operationTimeout - timeout time in milliseconds
ServiceResponse object.
ServiceResultException - if any.
AsyncResult<ServiceResponse> serviceRequestAsync(ServiceRequest request,
long operationTimeout)
request - the requestoperationTimeout - timeout time
EnumSet<ITransportChannel.TransportChannelFeature> getSupportedFeatures()
EnumSet object.EndpointDescription getEndpointDescription()
getEndpointDescription.
EndpointDescription object.EndpointConfiguration getEndpointConfiguration()
getEndpointConfiguration.
EndpointConfiguration object.EncoderContext getMessageContext()
getMessageContext.
EncoderContext object.void setOperationTimeout(int timeout)
timeout - in millisecondsint getOperationTimeout()
void dispose()
dispose.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||