|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerSecureChannel
Server side Secure channel.
| Method Summary | |
|---|---|
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()
|
| Method Detail |
|---|
KeyPair getLocalCertificate()
Cert getRemoteCertificate()
int getSecureChannelId()
ServerConnection getConnection()
MessageSecurityMode getMessageSecurityMode()
SecurityPolicy getSecurityPolicy()
String getConnectURL()
boolean isOpen()
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()
void getPendingServiceRequests(Collection<EndpointServiceRequest<?,?>> result)
result - container to fill with unanswered service requestsEndpoint getEndpoint()
Server getServer()
boolean needsCertificate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||