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 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 258 of file IPC.py.

Constructor & Destructor Documentation

◆ __init__()

def TestCenterAdvanced.IPC.ComSlave.__init__ (   self)

The slave's constructor.

Definition at line 261 of file IPC.py.

References TestCenterAdvanced.IPC.Communicator._csocket, and TestCenterAdvanced.IPC.Communicator._handleError().

◆ __del__()

def TestCenterAdvanced.IPC.ComSlave.__del__ (   self)

The slave's destructor.

Definition at line 270 of file IPC.py.

References TestCenterAdvanced.IPC.Communicator._csocket.

Member Function Documentation

◆ connect()

def TestCenterAdvanced.IPC.ComSlave.connect (   self)

◆ disconnect()

def TestCenterAdvanced.IPC.ComSlave.disconnect (   self)

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