#include <builtin_server_impl.h>
Public Member Functions | |
BuiltinServerAddon () | |
OpcUa::Services::SharedPtr | GetServices () const override |
virtual void | Initialize (Common::AddonsManager &addons, const Common::AddonParameters ¶ms) |
initialize addon. | |
virtual void | Listen (const OpcUa::Server::TcpParameters ¶ms, std::shared_ptr< OpcUa::Server::IncomingConnectionProcessor > processor) |
virtual void | Stop () |
Stopping addon work. After calling this method addon should throw exception on any calls. | |
virtual void | StopListen (const OpcUa::Server::TcpParameters ¶ms) |
~BuiltinServerAddon () | |
Private Member Functions | |
virtual void | OnError (const std::exception &exc) |
Thread exited with error. | |
virtual void | OnSuccess () |
thread exited with Success. | |
Private Attributes | |
std::shared_ptr< OpcUa::IOChannel > | ClientChannel |
std::shared_ptr< BufferedInput > | ClientInput |
bool | Debug |
OpcUa::Server::OpcUaProtocol::SharedPtr | Protocol |
std::shared_ptr< OpcUa::IOChannel > | ServerChannel |
std::shared_ptr< BufferedInput > | ServerInput |
std::unique_ptr< Common::Thread > | Thread |
Definition at line 35 of file builtin_server_impl.h.
Definition at line 179 of file builtin_server_impl.cpp.
Definition at line 197 of file builtin_server_impl.cpp.
OpcUa::Services::SharedPtr BuiltinServerAddon::GetServices | ( | ) | const [override, virtual] |
Implements OpcUa::Server::BuiltinServer.
Definition at line 184 of file builtin_server_impl.cpp.
void BuiltinServerAddon::Initialize | ( | Common::AddonsManager & | manager, |
const Common::AddonParameters & | parameters | ||
) | [virtual] |
initialize addon.
Implements Common::Addon.
Definition at line 208 of file builtin_server_impl.cpp.
void BuiltinServerAddon::Listen | ( | const OpcUa::Server::TcpParameters & | params, |
std::shared_ptr< OpcUa::Server::IncomingConnectionProcessor > | processor | ||
) | [virtual] |
Definition at line 265 of file builtin_server_impl.cpp.
void BuiltinServerAddon::OnError | ( | const std::exception & | exc | ) | [private, virtual] |
Thread exited with error.
Implements Common::ThreadObserver.
Definition at line 292 of file builtin_server_impl.cpp.
void BuiltinServerAddon::OnSuccess | ( | ) | [private, virtual] |
thread exited with Success.
Implements Common::ThreadObserver.
Definition at line 286 of file builtin_server_impl.cpp.
void BuiltinServerAddon::Stop | ( | ) | [virtual] |
Stopping addon work. After calling this method addon should throw exception on any calls.
Implements Common::Addon.
Definition at line 246 of file builtin_server_impl.cpp.
void BuiltinServerAddon::StopListen | ( | const OpcUa::Server::TcpParameters & | params | ) | [virtual] |
Implements OpcUa::Server::TcpServer.
Definition at line 281 of file builtin_server_impl.cpp.
std::shared_ptr<OpcUa::IOChannel> OpcUa::Impl::BuiltinServerAddon::ClientChannel [private] |
Definition at line 63 of file builtin_server_impl.h.
std::shared_ptr<BufferedInput> OpcUa::Impl::BuiltinServerAddon::ClientInput [private] |
Definition at line 60 of file builtin_server_impl.h.
bool OpcUa::Impl::BuiltinServerAddon::Debug [private] |
Definition at line 68 of file builtin_server_impl.h.
OpcUa::Server::OpcUaProtocol::SharedPtr OpcUa::Impl::BuiltinServerAddon::Protocol [private] |
Definition at line 67 of file builtin_server_impl.h.
std::shared_ptr<OpcUa::IOChannel> OpcUa::Impl::BuiltinServerAddon::ServerChannel [private] |
Definition at line 64 of file builtin_server_impl.h.
std::shared_ptr<BufferedInput> OpcUa::Impl::BuiltinServerAddon::ServerInput [private] |
Definition at line 61 of file builtin_server_impl.h.
std::unique_ptr<Common::Thread> OpcUa::Impl::BuiltinServerAddon::Thread [private] |
Definition at line 65 of file builtin_server_impl.h.