|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opcfoundation.ua.utils.AbstractState<CloseableObjectState,ServiceResultException>
org.opcfoundation.ua.transport.endpoint.AbstractServerSecureChannel
org.opcfoundation.ua.transport.https.HttpsServerSecureChannel
public class HttpsServerSecureChannel
HttpsServerSecureChannel class.
| Field Summary |
|---|
| Fields inherited from class org.opcfoundation.ua.transport.endpoint.AbstractServerSecureChannel |
|---|
activeToken, tokens |
| Constructor Summary | |
|---|---|
HttpsServerSecureChannel(HttpsServerEndpointHandler httpsEndpointHandler,
int secureChannelId)
Constructor for HttpsServerSecureChannel. |
|
| Method Summary | |
|---|---|
void |
dispose()
Close and dispose. |
ServerConnection |
getConnection()
Get current socket connection if applicable for the binding type. |
String |
getConnectURL()
getConnectURL. |
Endpoint |
getEndpoint()
Get endpoint |
KeyPair |
getLocalCertificate()
getLocalCertificate. |
MessageSecurityMode |
getMessageSecurityMode()
getMessageSecurityMode. |
void |
getPendingServiceRequests(Collection<EndpointServiceRequest<?,?>> result)
Get all unanswered service requests. |
Cert |
getRemoteCertificate()
getRemoteCertificate. |
SecurityPolicy |
getSecurityPolicy()
getSecurityPolicy. |
Server |
getServer()
Get Server |
boolean |
needsCertificate()
|
protected void |
onListenerException(RuntimeException rte)
Override this. |
void |
setConnection(HttpsServerConnection connection)
setConnection. |
void |
setError(ServiceResultException e)
setError. |
| Methods inherited from class org.opcfoundation.ua.transport.endpoint.AbstractServerSecureChannel |
|---|
close, closeAsync, getActiveSecurityToken, getLatestNonExpiredToken, getRemoteAddress, getSecureChannelId, getSecurityToken, isOpen, setActiveSecurityToken, toString |
| Methods inherited from class org.opcfoundation.ua.utils.AbstractState |
|---|
addStateListener, addStateNotifiable, assertNoError, attemptSetState, clearError, getError, getState, hasError, isStateTransitionAllowed, onStateTransition, removeStateListener, removeStateNotifiable, setState, setState, waitForState, waitForState, waitForStateUninterruptibly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HttpsServerSecureChannel(HttpsServerEndpointHandler httpsEndpointHandler,
int secureChannelId)
Constructor for HttpsServerSecureChannel.
httpsEndpointHandler - a HttpsServerEndpointHandler object.secureChannelId - a int.| Method Detail |
|---|
public KeyPair getLocalCertificate()
getLocalCertificate.
KeyPair object.public Cert getRemoteCertificate()
getRemoteCertificate.
Cert object.public MessageSecurityMode getMessageSecurityMode()
getMessageSecurityMode.
getMessageSecurityMode in interface ServerSecureChannelgetMessageSecurityMode in class AbstractServerSecureChannelMessageSecurityMode object.public SecurityPolicy getSecurityPolicy()
getSecurityPolicy.
getSecurityPolicy in interface ServerSecureChannelgetSecurityPolicy in class AbstractServerSecureChannelSecurityPolicy object.public void setError(ServiceResultException e)
setError.
setError in class AbstractServerSecureChannele - a ServiceResultException object.protected void onListenerException(RuntimeException rte)
onListenerException in class AbstractServerSecureChannelrte - a RuntimeException object.public ServerConnection getConnection()
public void setConnection(HttpsServerConnection connection)
setConnection.
connection - a HttpsServerConnection object.public String getConnectURL()
getConnectURL.
String object.public void dispose()
public void getPendingServiceRequests(Collection<EndpointServiceRequest<?,?>> result)
result - container to fill with unanswered service requestspublic Endpoint getEndpoint()
public Server getServer()
public boolean needsCertificate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||