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

#include <socket_channel.h>

Inheritance diagram for OpcUa::SocketChannel:
Inheritance graph
[legend]

Public Member Functions

virtual std::size_t Receive (char *data, std::size_t size)
 Receive data. More...
 
virtual void Send (const char *message, std::size_t size)
 
 SocketChannel (int sock)
 Opc binary cnnection channel. GNU LGPL. More...
 
virtual void Stop ()
 
virtual ~SocketChannel ()
 
- Public Member Functions inherited from OpcUa::InputChannel
 InputChannel ()
 
 InputChannel (const InputChannel &)=delete
 
 InputChannel (InputChannel &&)=delete
 
InputChanneloperator= (const InputChannel &)=delete
 
virtual ~InputChannel ()
 
- Public Member Functions inherited from OpcUa::BreakableChannel
 BreakableChannel ()
 
 BreakableChannel (const BreakableChannel &)=delete
 
 BreakableChannel (BreakableChannel &&)=delete
 
BreakableChanneloperator= (const BreakableChannel &)=delete
 
virtual ~BreakableChannel ()
 
- Public Member Functions inherited from OpcUa::OutputChannel
OutputChanneloperator= (const OutputChannel &)=delete
 
 OutputChannel ()
 
 OutputChannel (const OutputChannel &)=delete
 
 OutputChannel (OutputChannel &&)=delete
 
virtual ~OutputChannel ()
 

Private Attributes

int Socket
 

Detailed Description

Definition at line 19 of file socket_channel.h.

Constructor & Destructor Documentation

OpcUa::SocketChannel::SocketChannel ( int  sock)

Opc binary cnnection channel. GNU LGPL.

Author
Alexander Rykovanov 2012 rykov.nosp@m.anov.nosp@m..as@g.nosp@m.mail.nosp@m..com Distributed under the GNU LGPL License (See accompanying file LICENSE or copy at http://www.gnu.org/licenses/lgpl.html)

Definition at line 34 of file socket_channel.cpp.

OpcUa::SocketChannel::~SocketChannel ( )
virtual

Definition at line 46 of file socket_channel.cpp.

Member Function Documentation

std::size_t OpcUa::SocketChannel::Receive ( char *  data,
std::size_t  size 
)
virtual

Receive data.

Parameters
datadata for send
sizesize of data
Returns
size of received data

Implements OpcUa::InputChannel.

Definition at line 56 of file socket_channel.cpp.

void OpcUa::SocketChannel::Send ( const char *  message,
std::size_t  size 
)
virtual

Implements OpcUa::OutputChannel.

Definition at line 73 of file socket_channel.cpp.

void OpcUa::SocketChannel::Stop ( )
virtual

Implements OpcUa::BreakableChannel.

Definition at line 51 of file socket_channel.cpp.

Member Data Documentation

int OpcUa::SocketChannel::Socket
private

Definition at line 31 of file socket_channel.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:09