Public Member Functions | Private Member Functions | Private Attributes
OpcUa::Impl::BuiltinServerAddon Class Reference

#include <builtin_server_impl.h>

Inheritance diagram for OpcUa::Impl::BuiltinServerAddon:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BuiltinServerAddon ()
OpcUa::Services::SharedPtr GetServices () const override
virtual void Initialize (Common::AddonsManager &addons, const Common::AddonParameters &params)
 initialize addon.
virtual void Listen (const OpcUa::Server::TcpParameters &params, 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 &params)
 ~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::IOChannelClientChannel
std::shared_ptr< BufferedInputClientInput
bool Debug
OpcUa::Server::OpcUaProtocol::SharedPtr Protocol
std::shared_ptr< OpcUa::IOChannelServerChannel
std::shared_ptr< BufferedInputServerInput
std::unique_ptr< Common::ThreadThread

Detailed Description

Definition at line 35 of file builtin_server_impl.h.


Constructor & Destructor Documentation

Definition at line 179 of file builtin_server_impl.cpp.

Definition at line 197 of file builtin_server_impl.cpp.


Member Function Documentation

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.

Note:
Calls when all addons dependencies resolved. suppose that addon fully ready for work.

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.

Implements OpcUa::Server::TcpServer.

Definition at line 281 of file builtin_server_impl.cpp.


Member Data Documentation

Definition at line 63 of file builtin_server_impl.h.

Definition at line 60 of file builtin_server_impl.h.

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.

Definition at line 64 of file builtin_server_impl.h.

Definition at line 61 of file builtin_server_impl.h.

Definition at line 65 of file builtin_server_impl.h.


The documentation for this class was generated from the following files:


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:25:00