|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opcfoundation.ua.application.Server
com.prosysopc.ua.server.UaServer.DiscoveryServer
public class UaServer.DiscoveryServer
Service handler that serves onFindServers & onRegisteredServer requests. onGetEndpoint request is handled by a default EndpointDiscoveryService.
| Field Summary |
|---|
| Fields inherited from class org.opcfoundation.ua.application.Server |
|---|
application, boundHandles, endpointBindings, endpointDiscoveryService, HTTPS_BINARY_TRANSPORT_PROFILE_URI, serviceHandlers, SOAP_XML_TRANSPORT_PROFILE_URI, UATCP_BINARY_TRANSPORT_PROFILE_URI, userTokenPolicies |
| Constructor Summary | |
|---|---|
UaServer.DiscoveryServer(org.opcfoundation.ua.application.Application application)
|
|
| Method Summary | |
|---|---|
org.opcfoundation.ua.core.RegisteredServer[] |
getRegisteredServers()
Get a list of servers registered to this server using the Discovery Interface. |
void |
onFindServers(org.opcfoundation.ua.transport.endpoint.EndpointServiceRequest<org.opcfoundation.ua.core.FindServersRequest,org.opcfoundation.ua.core.FindServersResponse> req)
|
void |
registerServer(UaServer uaServer,
String semaphoreFilePath,
boolean isOnline)
|
| Methods inherited from class org.opcfoundation.ua.application.Server |
|---|
addServiceHandler, addUserTokenPolicy, bind, bind, close, createApplicationDescription, createServerApplication, getApplication, getBindings, getEncoderContext, getEndpointBindings, getEndpointByUri, getEndpointDescriptions, getEndpointDescriptions, getEndpoints, getServiceHandlerByService, getServiceHandlerComposition, getServiceHandlers, getUserTokenPolicies, handlesService, hasEndpoint, removeUserTokenPolicy, setEndpointBindings, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UaServer.DiscoveryServer(org.opcfoundation.ua.application.Application application)
| Method Detail |
|---|
public org.opcfoundation.ua.core.RegisteredServer[] getRegisteredServers()
public final void onFindServers(org.opcfoundation.ua.transport.endpoint.EndpointServiceRequest<org.opcfoundation.ua.core.FindServersRequest,org.opcfoundation.ua.core.FindServersResponse> req)
throws org.opcfoundation.ua.common.ServiceFaultException
org.opcfoundation.ua.common.ServiceFaultException
public void registerServer(UaServer uaServer,
String semaphoreFilePath,
boolean isOnline)
uaServer - semaphoreFilePath - isOnline -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||