11 #ifndef __OPC_UA_BINARY_CHANNEL 12 #define __OPC_UA_BINARY_CHANNEL 26 virtual std::size_t
Receive(
char * data, std::size_t size) = 0;
27 virtual void Send(
const char *
message, std::size_t size) = 0;
30 virtual unsigned GetPort()
const = 0;
34 std::unique_ptr<RemoteConnection>
Connect(
const std::string & host,
unsigned port,
const Common::Logger::SharedPtr & logger);
38 #endif // __OPC_UA_BINARY_CHANNEL
virtual unsigned GetPort() const =0
virtual std::size_t Receive(char *data, std::size_t size)=0
Receive data.
OPC UA Address space part. GNU LGPL.
virtual void Send(const char *message, std::size_t size)=0
virtual std::string GetHost() const =0
std::unique_ptr< RemoteConnection > Connect(const std::string &host, unsigned port, const Common::Logger::SharedPtr &logger)