socket_channel.h
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 #ifndef OPC_UA_Client_SOCKET_CHANNEL_H
00012 #define OPC_UA_Client_SOCKET_CHANNEL_H
00013 
00014 #include <opc/ua/protocol/channel.h>
00015 
00016 namespace OpcUa
00017 {
00018 
00019   class SocketChannel : public OpcUa::IOChannel
00020   {
00021   public:
00022     SocketChannel(int sock);
00023     virtual ~SocketChannel();
00024 
00025     virtual std::size_t Receive(char* data, std::size_t size);
00026     virtual void Send(const char* message, std::size_t size);
00027 
00028     virtual void Stop();
00029 
00030   private:
00031     int Socket;
00032   };
00033 
00034 }
00035 
00036 #endif // OPC_UA_Client_SOCKET_CHANNEL_H
00037 


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