#include <server.h>
Definition at line 15 of file server.h.
OpcUa::UaServer::UaServer |
( |
| ) |
|
create high level server
Definition at line 30 of file server.cpp.
OpcUa::UaServer::UaServer |
( |
bool |
debug | ) |
|
|
explicit |
OpcUa::UaServer::UaServer |
( |
const Common::Logger::SharedPtr & |
logger | ) |
|
|
explicit |
void OpcUa::UaServer::AddAddressSpace |
( |
const std::string & |
path | ) |
|
load xml addressspace. This is not implemented yet!!!
Definition at line 76 of file server.cpp.
void OpcUa::UaServer::CheckStarted |
( |
| ) |
const |
|
protected |
Create a server operations object.
Definition at line 215 of file server.cpp.
Subscription::SharedPtr OpcUa::UaServer::CreateSubscription |
( |
unsigned int |
period, |
|
|
SubscriptionHandler & |
callback |
|
) |
| |
Create a subscription objects.
Definition at line 207 of file server.cpp.
void OpcUa::UaServer::EnableEventNotification |
( |
| ) |
|
Enable event notification on Server node this is necessary if you want to be able to send custom events.
Definition at line 194 of file server.cpp.
uint32_t OpcUa::UaServer::GetNamespaceIndex |
( |
std::string |
uri | ) |
|
Node OpcUa::UaServer::GetNode |
( |
const NodeId & |
nodeid | ) |
const |
Get a specific node by nodeid.
Definition at line 156 of file server.cpp.
Node OpcUa::UaServer::GetNode |
( |
const std::string & |
nodeid | ) |
const |
Node OpcUa::UaServer::GetNodeFromPath |
( |
const std::vector< QualifiedName > & |
path | ) |
const |
Get a node using its browsepath.
Definition at line 162 of file server.cpp.
Node OpcUa::UaServer::GetNodeFromPath |
( |
const std::vector< std::string > & |
path | ) |
const |
Node OpcUa::UaServer::GetObjectsNode |
( |
| ) |
const |
Node OpcUa::UaServer::GetRootNode |
( |
| ) |
const |
helper methods for node you will probably want to access
Definition at line 179 of file server.cpp.
Node OpcUa::UaServer::GetServerNode |
( |
| ) |
const |
uint32_t OpcUa::UaServer::RegisterNamespace |
( |
std::string |
uri | ) |
|
Register your application namespace.
Definition at line 89 of file server.cpp.
void OpcUa::UaServer::SetEndpoint |
( |
const std::string & |
endpoint | ) |
|
set endpoint uri on wich server will listen. opc.tcp://localhost:4841/opcua/server opc.tcp://192.168.1.1:4840/opcua/server opc.tcp://server.freeopca.org:4841/opcua/server
Definition at line 56 of file server.cpp.
void OpcUa::UaServer::SetProductURI |
( |
const std::string & |
uri | ) |
|
setup server description
Definition at line 61 of file server.cpp.
void OpcUa::UaServer::SetServerName |
( |
const std::string & |
name | ) |
|
void OpcUa::UaServer::SetServerURI |
( |
const std::string & |
uri | ) |
|
void OpcUa::UaServer::Start |
( |
| ) |
|
Start and Stop server.
Definition at line 118 of file server.cpp.
void OpcUa::UaServer::Stop |
( |
| ) |
|
void OpcUa::UaServer::TriggerEvent |
( |
Event |
event | ) |
|
Common::AddonsManager::SharedPtr OpcUa::UaServer::Addons |
|
protected |
std::string OpcUa::UaServer::Endpoint |
|
protected |
bool OpcUa::UaServer::LoadCppAddressSpace = true |
|
protected |
Common::Logger::SharedPtr OpcUa::UaServer::Logger |
|
protected |
std::string OpcUa::UaServer::Name = "FreeOpcUa Server" |
|
protected |
std::string OpcUa::UaServer::ProductUri = "urn:freeopcua.github.no:server" |
|
protected |
Server::ServicesRegistry::SharedPtr OpcUa::UaServer::Registry |
|
protected |
std::string OpcUa::UaServer::ServerUri = "urn:freeopcua:server" |
|
protected |
Server::SubscriptionService::SharedPtr OpcUa::UaServer::SubscriptionService |
|
protected |
std::vector<std::string> OpcUa::UaServer::XmlAddressSpaces |
|
protected |
The documentation for this class was generated from the following files: