Public Member Functions | Public Attributes | List of all members
opcua.common.utils.SocketWrapper Class Reference
Inheritance diagram for opcua.common.utils.SocketWrapper:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, sock)
 
def read (self, size)
 
def write (self, data)
 

Public Attributes

 socket
 

Detailed Description

wrapper to make it possible to have same api for
normal sockets, socket from asyncio, StringIO, etc....

Definition at line 88 of file utils.py.

Constructor & Destructor Documentation

def opcua.common.utils.SocketWrapper.__init__ (   self,
  sock 
)

Definition at line 94 of file utils.py.

Member Function Documentation

def opcua.common.utils.SocketWrapper.read (   self,
  size 
)
Receive up to size bytes from socket

Definition at line 97 of file utils.py.

def opcua.common.utils.SocketWrapper.write (   self,
  data 
)

Definition at line 113 of file utils.py.

Member Data Documentation

opcua.common.utils.SocketWrapper.socket

Definition at line 95 of file utils.py.


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


ros_opcua_impl_python_opcua
Author(s): Denis Štogl , Daniel Draper
autogenerated on Tue Jan 19 2021 03:12:44