#include <socket_channel.h>
Public Member Functions | |
virtual std::size_t | Receive (char *data, std::size_t size) |
Receive data. | |
virtual void | Send (const char *message, std::size_t size) |
SocketChannel (int sock) | |
Opc binary cnnection channel. GNU LGPL. | |
virtual void | Stop () |
virtual | ~SocketChannel () |
Private Attributes | |
int | Socket |
Definition at line 19 of file socket_channel.h.
OpcUa::SocketChannel::SocketChannel | ( | int | sock | ) |
Opc binary cnnection channel. GNU LGPL.
Definition at line 34 of file socket_channel.cpp.
OpcUa::SocketChannel::~SocketChannel | ( | ) | [virtual] |
Definition at line 45 of file socket_channel.cpp.
std::size_t OpcUa::SocketChannel::Receive | ( | char * | data, |
std::size_t | size | ||
) | [virtual] |
Receive data.
data | data for send |
size | size of data |
Implements OpcUa::InputChannel.
Definition at line 59 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 50 of file socket_channel.cpp.
int OpcUa::SocketChannel::Socket [private] |
Definition at line 31 of file socket_channel.h.