@Deprecated public class HttpsClientSecureChannel extends Object implements SecureChannel
HttpsClientSecureChannel class.
| Constructor and Description |
|---|
HttpsClientSecureChannel(HttpsClient client)
Deprecated.
|
@Deprecated public HttpsClientSecureChannel(HttpsClient client)
Constructor for HttpsClientSecureChannel.
client - a HttpsClient object.@Deprecated public void close()
This method sends CloseSecureChannelRequest to the server and closes the socket connection. If sending of the message fails and thus the servers never receives notification about closed secure channel, then there is no resend attempt. The secure channel will eventually time out in the server.
All pending requests will fault with Bad_SecureChannelClosed
close in interface SecureChannel@Deprecated public AsyncResult<SecureChannel> closeAsync()
This method sends CloseSecureChannelRequest to the server and closes the socket connection. If sending of the message fails and thus the servers never receives notification about closed secure channel, then there is no resend attempt. The secure channel will eventually time out in the server.
All pending requests will fault with Bad_SecureChannelClosed
closeAsync in interface SecureChannel@Deprecated public void dispose()
dispose in interface SecureChannel@Deprecated public String getConnectURL()
getConnectURL in interface SecureChannel@Deprecated public EndpointConfiguration getEndpointConfiguration()
getEndpointConfiguration.
getEndpointConfiguration in interface SecureChannelEndpointConfiguration object.@Deprecated public EndpointDescription getEndpointDescription()
getEndpointDescription.
getEndpointDescription in interface SecureChannelEndpointDescription object.@Deprecated public EncoderContext getMessageContext()
getMessageContext.
getMessageContext in interface SecureChannelEncoderContext object.@Deprecated public MessageSecurityMode getMessageSecurityMode()
getMessageSecurityMode in interface SecureChannel@Deprecated public int getOperationTimeout()
getOperationTimeout in interface SecureChannel@Deprecated public int getSecureChannelId()
getSecureChannelId in interface SecureChannel@Deprecated public SecurityPolicy getSecurityPolicy()
getSecurityPolicy in interface SecureChannel@Deprecated public void initialize(String url, TransportChannelSettings tcs, EncoderContext ctx) throws ServiceResultException
initialize in interface SecureChannelurl - connect urltcs - a TransportChannelSettings object.ctx - a EncoderContext object.ServiceResultException - if any.@Deprecated public void initialize(TransportChannelSettings tcs, EncoderContext ctx) throws ServiceResultException
initialize in interface SecureChanneltcs - a TransportChannelSettings object.ctx - a EncoderContext object.ServiceResultException - if any.@Deprecated public boolean isOpen()
isOpen in interface SecureChannel@Deprecated public void open() throws ServiceResultException
StatusCodes.Bad_Timeout.
open in interface SecureChannelServiceResultException - if any.@Deprecated public AsyncResult<SecureChannel> openAsync()
SecureChannelopenAsync in interface SecureChannel@Deprecated public <T extends ServiceResponse> T serviceRequest(ServiceRequest<T> request) throws ServiceResultException
SecureChannel
If the operation timeouts or the thread is interrupted a ServiceResultException is thrown with
StatusCodes.Bad_Timeout.
Sends a request over the secure channel.
If the operation timeouts or the thread is interrupted a ServiceResultException is thrown with
StatusCodes.Bad_Timeout.
serviceRequest in interface RequestChannelserviceRequest in interface SecureChannelT - type of the response (determined automatically from the request).request - the requestServiceResultException - if error@Deprecated public <T extends ServiceResponse> AsyncResult<T> serviceRequestAsync(ServiceRequest<T> request)
SecureChannelserviceRequestAsync in interface RequestChannelserviceRequestAsync in interface SecureChannelT - type of the response (determined automatically from the request).request - the request@Deprecated public void setOperationTimeout(int timeout)
SecureChannelsetOperationTimeout in interface SecureChanneltimeout - in millisecondsCopyright © 2026. All rights reserved.