public interface ServerSecureChannel
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the secure channel.
|
AsyncResult<ServerSecureChannel> |
closeAsync()
Close the secure channel.
|
void |
dispose()
Close and dispose.
|
ServerConnection |
getConnection()
Get current socket connection if applicable for the binding type.
|
String |
getConnectURL()
Return the URL of the connection.
|
Endpoint |
getEndpoint()
Get endpoint
|
KeyPair |
getLocalCertificate()
Get Local Application Instance Certificate
|
MessageSecurityMode |
getMessageSecurityMode()
Get message security mode.
|
void |
getPendingServiceRequests(Collection<EndpointServiceRequest<?,?>> result)
Get all unanswered service requests.
|
Cert |
getRemoteCertificate()
Get Remote Application Instance Certificate
|
int |
getSecureChannelId()
Get secure channel ID
|
SecurityPolicy |
getSecurityPolicy()
Get security policy
|
Server |
getServer()
Get Server
|
boolean |
isOpen()
Is the secure channel open.
|
boolean |
needsCertificate() |
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, instead the secure channel will eventually time out in the server.
All pending requests will fault with Bad_SecureChannelClosed
AsyncResult<ServerSecureChannel> 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, instead the secure channel will eventually time out in the server.
All pending requests will fault with Bad_SecureChannelClosed
void dispose()
ServerConnection getConnection()
String getConnectURL()
Endpoint getEndpoint()
KeyPair getLocalCertificate()
MessageSecurityMode getMessageSecurityMode()
void getPendingServiceRequests(Collection<EndpointServiceRequest<?,?>> result)
result - container to fill with unanswered service requestsCert getRemoteCertificate()
int getSecureChannelId()
SecurityPolicy getSecurityPolicy()
Server getServer()
boolean isOpen()
boolean needsCertificate()
Copyright © 2026. All rights reserved.