#include <CommsNet.h>
|
| CommsNet (BUInt rxFifoSize=1024, BUInt txFifoSize=1024) |
|
| ~CommsNet () |
|
BError | init () |
|
BError | connect (BString host, BUInt16 port) |
|
BError | disconnect () |
|
BUInt | readAvailable () |
|
BError | wait (BUInt32 eventSet, BTimeout timeout=-1, BUInt32 num=1) |
|
BError | read (void *data, BUInt32 num, BUInt32 &nt) |
|
BUInt | writeAvailable () |
|
BError | write (const void *data, BUInt32 nBytes, BUInt32 &nt) |
|
BError | writeChunks (const BDataChunk *chunks, BUInt nChunks, BUInt32 &nt) |
|
| BComms () |
|
virtual | ~BComms () |
|
virtual BError | setPacketMode (Bool packetMode) |
|
virtual Bool | packetMode () |
|
virtual BError | setTimeout (BTimeout timeoutUs) |
|
virtual BError | connect (const char *resource) |
|
virtual Bool | isConnected () |
|
virtual void | flush (Flush flush) |
|
virtual BError | wait (BEventWaitSet events, BTimeout timeoutUs=BTimeoutForever, BUInt32 num=1) |
|
virtual void | eventQueue (BEventQueue *eventQueue, BInt32 event, BUInt num=1) |
|
◆ CommsNet()
BMeasureApi::CommsNet::CommsNet | ( | BUInt | rxFifoSize = 1024 , |
| | BUInt | txFifoSize = 1024 |
| ) | | |
◆ ~CommsNet()
BMeasureApi::CommsNet::~CommsNet | ( | | ) | |
◆ connect()
◆ disconnect()
BError BMeasureApi::CommsNet::disconnect | ( | | ) | | | virtual |
◆ init()
BError BMeasureApi::CommsNet::init | ( | | ) | | | virtual |
◆ read()
◆ readAvailable()
BUInt BMeasureApi::CommsNet::readAvailable | ( | | ) | | | virtual |
◆ wait()
◆ write()
◆ writeAvailable()
BUInt BMeasureApi::CommsNet::writeAvailable | ( | | ) | | | virtual |
◆ writeChunks()
◆ oinWait
Bool BMeasureApi::CommsNet::oinWait | | protected |
◆ osocket
BSocket BMeasureApi::CommsNet::osocket | | protected |
◆ oterminating
Bool BMeasureApi::CommsNet::oterminating | | protected |
The documentation for this class was generated from the following files: