TestCenter Reference
TestCenterAdvanced.IPC.ComSlave Class Reference

The connection's slave. More...

Inheritance diagram for TestCenterAdvanced.IPC.ComSlave:
TestCenterAdvanced.IPC.Communicator

Public Member Functions

def __init__ (self)
 The slave's constructor. More...
 
def __del__ (self)
 The slave's destructor. More...
 
def connect (self)
 Connect to master and configure connection. More...
 
def disconnect (self)
 Disconnect from master. More...
 
- Public Member Functions inherited from TestCenterAdvanced.IPC.Communicator
def getPort (self)
 Get the port used for connections. More...
 
def isConnected (self)
 Get the connection status of the IPC client. More...
 
def send (self, data, timeout)
 Send the data via the socket using the given timeout. More...
 
def recv (self, timeout)
 Receive data via the socket using the given timeout. More...
 
def getLastError (self)
 Get a tuple describing the last error. More...
 
def getLastErrorWithMessage (self)
 Get a tuple describing the last error. More...
 

Detailed Description

The connection's slave.

The slave of the connection is the entity connecting to the master.

Definition at line 310 of file IPC.py.

Constructor & Destructor Documentation

◆ __init__()

def TestCenterAdvanced.IPC.ComSlave.__init__ (   self)

◆ __del__()

def TestCenterAdvanced.IPC.ComSlave.__del__ (   self)

The slave's destructor.

Definition at line 323 of file IPC.py.

References TestCenterAdvanced.IPC.Communicator._csocket, and TestCenterAdvanced.IPC.ComSlave._csocket.

Member Function Documentation

◆ connect()

◆ disconnect()


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