public class UaTcpStackServer extends Object implements UaStackServer
| Modifier and Type | Field and Description |
|---|---|
static io.netty.util.AttributeKey<io.netty.channel.Channel> |
BoundChannelKey
|
| Constructor and Description |
|---|
UaTcpStackServer(UaTcpStackServerConfig config) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEndpoint, addServiceSet, addServiceSet, addServiceSet, addServiceSet, addServiceSet, addServiceSet, addServiceSet, addServiceSet, addServiceSet, addServiceSetpublic static final io.netty.util.AttributeKey<io.netty.channel.Channel> BoundChannelKey
public UaTcpStackServer(UaTcpStackServerConfig config)
public UaTcpStackServerConfig getConfig()
public void startup()
startup in interface UaStackServerpublic void shutdown()
shutdown in interface UaStackServerpublic void receiveRequest(ServiceRequest<UaRequestMessage,UaResponseMessage> serviceRequest)
public ApplicationDescription getApplicationDescription()
getApplicationDescription in interface UaStackServerpublic EndpointDescription[] getEndpointDescriptions()
getEndpointDescriptions in interface UaStackServerpublic SignedSoftwareCertificate[] getSoftwareCertificates()
getSoftwareCertificates in interface UaStackServerpublic List<UserTokenPolicy> getUserTokenPolicies()
getUserTokenPolicies in interface UaStackServerpublic CertificateManager getCertificateManager()
getCertificateManager in interface UaStackServerpublic CertificateValidator getCertificateValidator()
getCertificateValidator in interface UaStackServerpublic ExecutorService getExecutorService()
getExecutorService in interface UaStackServerpublic ChannelConfig getChannelConfig()
getChannelConfig in interface UaStackServerpublic long nextTokenId()
public ServerSecureChannel openSecureChannel()
openSecureChannel in interface UaStackServerpublic void closeSecureChannel(ServerSecureChannel secureChannel)
closeSecureChannel in interface UaStackServerpublic void secureChannelIssuedOrRenewed(ServerSecureChannel secureChannel, long lifetimeMillis)
public ServerSecureChannel getSecureChannel(long channelId)
public <T extends UaRequestMessage,U extends UaResponseMessage> void addRequestHandler(Class<T> requestClass, ServiceRequestHandler<T,U> requestHandler)
addRequestHandler in interface UaStackServerpublic UaTcpStackServer addEndpoint(String endpointUri, String bindAddress, X509Certificate certificate, SecurityPolicy securityPolicy, MessageSecurityMode messageSecurity)
addEndpoint in interface UaStackServerCopyright © 2015. All rights reserved.