#include <UT_NetStream.h>
Public Member Functions | |
| UT_NetStream () | |
| virtual | ~UT_NetStream () |
| int | startIOThread () |
| int | stopIOThread () |
| void | openConnection (const char *address, int port, int mode=NET_STREAM_IN, int connect_type=NET_STREAM_PLUG) |
| void | closeConnection () |
| int | isThreadStarted () const |
| int | isValidStream () const |
| int | isConnected () const |
| void | setDataReady () |
| int | isDataReady () |
Protected Member Functions | |
| virtual void | receiveData (istream &is)=0 |
| virtual void | transmitData (ostream &os)=0 |
| virtual void | justConnected () |
| virtual void | dataReceived () |
| void | ioLoop () |
Static Protected Member Functions | |
| static void * | ioLoopEntry (void *data) |
Definition at line 46 of file UT_NetStream.h.
| UT_NetStream::UT_NetStream | ( | ) |
| virtual UT_NetStream::~UT_NetStream | ( | ) | [virtual] |
| void UT_NetStream::closeConnection | ( | ) |
| virtual void UT_NetStream::dataReceived | ( | ) | [inline, protected, virtual] |
Definition at line 88 of file UT_NetStream.h.
| void UT_NetStream::ioLoop | ( | ) | [protected] |
| static void* UT_NetStream::ioLoopEntry | ( | void * | data | ) | [static, protected] |
| int UT_NetStream::isConnected | ( | ) | const [inline] |
Definition at line 70 of file UT_NetStream.h.
| int UT_NetStream::isDataReady | ( | ) |
| int UT_NetStream::isThreadStarted | ( | ) | const [inline] |
Definition at line 64 of file UT_NetStream.h.
| int UT_NetStream::isValidStream | ( | ) | const [inline] |
Definition at line 67 of file UT_NetStream.h.
| virtual void UT_NetStream::justConnected | ( | ) | [inline, protected, virtual] |
Definition at line 87 of file UT_NetStream.h.
| void UT_NetStream::openConnection | ( | const char * | address, | |
| int | port, | |||
| int | mode = NET_STREAM_IN, |
|||
| int | connect_type = NET_STREAM_PLUG | |||
| ) |
| virtual void UT_NetStream::receiveData | ( | istream & | is | ) | [protected, pure virtual] |
| void UT_NetStream::setDataReady | ( | ) |
| int UT_NetStream::startIOThread | ( | ) |
| int UT_NetStream::stopIOThread | ( | ) |
| virtual void UT_NetStream::transmitData | ( | ostream & | os | ) | [protected, pure virtual] |
1.5.9