Public Member Functions | Private Member Functions | Private Attributes | List of all members
OpcUa::Impl::BuiltinServerAddon Class Reference

#include <builtin_server_impl.h>

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

Public Member Functions

 BuiltinServerAddon (const Common::Logger::SharedPtr &logger=nullptr)
 
OpcUa::Services::SharedPtr GetServices () const override
 
virtual void Initialize (Common::AddonsManager &addons, const Common::AddonParameters &params) override
 initialize addon. More...
 
virtual void Listen (const OpcUa::Server::TcpParameters &params, std::shared_ptr< OpcUa::Server::IncomingConnectionProcessor > processor) override
 
virtual void Stop () override
 Stopping addon work. After calling this method addon should throw exception on any calls. More...
 
virtual void StopListen (const OpcUa::Server::TcpParameters &params) override
 
 ~BuiltinServerAddon () override
 
- Public Member Functions inherited from OpcUa::Server::TcpServer
virtual void Listen (const OpcUa::Server::TcpParameters &params, std::shared_ptr< OpcUa::Server::IncomingConnectionProcessor > processor)=0
 
 TcpServer (const Common::Logger::SharedPtr &logger)
 
- Public Member Functions inherited from OpcUa::Server::BuiltinServer
 DEFINE_CLASS_POINTERS (BuiltingServerFactory)
 

Private Member Functions

virtual void OnError (const std::exception &exc) override
 Thread exited with error. More...
 
virtual void OnSuccess () override
 thread exited with Success. More...
 

Private Attributes

std::shared_ptr< OpcUa::IOChannelClientChannel
 
std::shared_ptr< BufferedInputClientInput
 
OpcUa::Server::OpcUaProtocol::SharedPtr Protocol
 
std::shared_ptr< OpcUa::IOChannelServerChannel
 
std::shared_ptr< BufferedInputServerInput
 
std::unique_ptr< Common::ThreadThread
 

Additional Inherited Members

- Protected Attributes inherited from OpcUa::Server::TcpServer
Common::Logger::SharedPtr Logger
 

Detailed Description

Definition at line 35 of file builtin_server_impl.h.

Constructor & Destructor Documentation

BuiltinServerAddon::BuiltinServerAddon ( const Common::Logger::SharedPtr &  logger = nullptr)

Definition at line 193 of file builtin_server_impl.cpp.

BuiltinServerAddon::~BuiltinServerAddon ( )
override

Definition at line 211 of file builtin_server_impl.cpp.

Member Function Documentation

OpcUa::Services::SharedPtr BuiltinServerAddon::GetServices ( ) const
overridevirtual

Implements OpcUa::Server::BuiltinServer.

Definition at line 198 of file builtin_server_impl.cpp.

void BuiltinServerAddon::Initialize ( Common::AddonsManager manager,
const Common::AddonParameters parameters 
)
overridevirtual

initialize addon.

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

Implements Common::Addon.

Definition at line 223 of file builtin_server_impl.cpp.

void BuiltinServerAddon::Listen ( const OpcUa::Server::TcpParameters params,
std::shared_ptr< OpcUa::Server::IncomingConnectionProcessor processor 
)
overridevirtual

Definition at line 290 of file builtin_server_impl.cpp.

void BuiltinServerAddon::OnError ( const std::exception &  exc)
overrideprivatevirtual

Thread exited with error.

Implements Common::ThreadObserver.

Definition at line 318 of file builtin_server_impl.cpp.

void BuiltinServerAddon::OnSuccess ( )
overrideprivatevirtual

thread exited with Success.

Implements Common::ThreadObserver.

Definition at line 311 of file builtin_server_impl.cpp.

void BuiltinServerAddon::Stop ( )
overridevirtual

Stopping addon work. After calling this method addon should throw exception on any calls.

Implements Common::Addon.

Definition at line 270 of file builtin_server_impl.cpp.

void BuiltinServerAddon::StopListen ( const OpcUa::Server::TcpParameters params)
overridevirtual

Implements OpcUa::Server::TcpServer.

Definition at line 306 of file builtin_server_impl.cpp.

Member Data Documentation

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.

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.


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


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:10