|
||||||||||
| 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.https.HttpsServer
public class HttpsServer
Host for an https endpoint
| Nested Class Summary | |
|---|---|
class |
HttpsServer.HttpsEndpointHandle
|
class |
HttpsServer.SocketHandle
|
| Nested classes/interfaces inherited from interface org.opcfoundation.ua.transport.EndpointServer |
|---|
EndpointServer.EndpointHandle |
| Nested classes/interfaces inherited from interface org.opcfoundation.ua.transport.ConnectionMonitor |
|---|
ConnectionMonitor.ConnectListener |
| Field Summary | |
|---|---|
static org.apache.http.params.HttpParams |
DEFAULT_HTTPPARAMS
Constant DEFAULT_HTTPPARAMS |
| Fields inherited from interface org.opcfoundation.ua.transport.EndpointServer |
|---|
discoveryEndpoint |
| Constructor Summary | |
|---|---|
HttpsServer(Application application)
Constructor for HttpsServer. |
|
| Methods inherited from class org.opcfoundation.ua.utils.AbstractState |
|---|
addStateListener, addStateNotifiable, assertNoError, attemptSetState, clearError, getError, getState, hasError, isStateTransitionAllowed, onListenerException, onStateTransition, removeStateListener, removeStateNotifiable, setError, setState, setState, waitForState, waitForState, waitForStateUninterruptibly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.opcfoundation.ua.utils.IStatefulObject |
|---|
addStateListener, addStateNotifiable, getError, getState, removeStateListener, removeStateNotifiable, waitForState, waitForState, waitForStateUninterruptibly |
| Field Detail |
|---|
public static final org.apache.http.params.HttpParams DEFAULT_HTTPPARAMS
DEFAULT_HTTPPARAMS
| Constructor Detail |
|---|
public HttpsServer(Application application)
throws ServiceResultException
Constructor for HttpsServer.
application - a Application object.
ServiceResultException - if any.| Method Detail |
|---|
public static TrustManager[] makeTrustManager(CertificateValidator... validators)
makeTrustManager.
validators - a CertificateValidator object.
TrustManager objects.public Collection<HttpsSecurityPolicy> getSupportedSecurityPolicies()
getSupportedSecurityPolicies.
Collection object.public void setWorkerThreadCount(int workerThreadCount)
workerThreadCount - a int.public int getWorkerThreadCount()
getWorkerThreadCount.
setWorkerThreadCount(int)protected void shutdownReactor()
shutdownReactor.
protected void initReactor()
throws ServiceResultException
initReactor.
ServiceResultException - if any.public HttpsSettings getHttpsSettings()
getHttpsSettings.
HttpsSettings object.
public EndpointServer.EndpointHandle bind(SocketAddress socketAddress,
EndpointBinding endpointBinding)
throws ServiceResultException
bind in interface EndpointServersocketAddress - a SocketAddress object.endpointBinding - a EndpointBinding object.
EndpointServer.EndpointHandle object.
ServiceResultException - if any.public void addConnectionListener(ConnectionMonitor.ConnectListener l)
addConnectionListener.
addConnectionListener in interface ConnectionMonitorl - a ConnectionMonitor.ConnectListener object.public void getConnections(Collection<ServerConnection> result)
getConnections.
getConnections in interface ConnectionMonitorresult - a Collection object.public void removeConnectionListener(ConnectionMonitor.ConnectListener l)
removeConnectionListener.
removeConnectionListener in interface ConnectionMonitorl - a ConnectionMonitor.ConnectListener object.public List<SocketAddress> getBoundSocketAddresses()
getBoundSocketAddresses.
getBoundSocketAddresses in interface EndpointServerList object.public EncoderContext getEncoderContext()
getEncoderContext.
getEncoderContext in interface EndpointServerEncoderContext object.public EndpointBindingCollection getEndpointBindings()
getEndpointBindings in interface EndpointServerpublic CloseableObject close()
close.
close in interface CloseableObjectCloseableObject object.public String toString()
toString in class Objectpublic HttpsServer.SocketHandle[] socketHandleSnapshot()
socketHandleSnapshot.
HttpsServer.SocketHandle objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||