HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_NetStream Class Referenceabstract

#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 (std::istream &is)=0
 
virtual void transmitData (std::ostream &os)=0
 
virtual void justConnected ()
 
virtual void dataReceived ()
 
void ioLoop ()
 

Static Protected Member Functions

static voidioLoopEntry (void *data)
 

Detailed Description

Definition at line 40 of file UT_NetStream.h.

Constructor & Destructor Documentation

UT_NetStream::UT_NetStream ( )
virtual UT_NetStream::~UT_NetStream ( )
virtual

Member Function Documentation

void UT_NetStream::closeConnection ( )
virtual void UT_NetStream::dataReceived ( )
inlineprotectedvirtual

Definition at line 82 of file UT_NetStream.h.

void UT_NetStream::ioLoop ( )
protected
static void* UT_NetStream::ioLoopEntry ( void data)
staticprotected
int UT_NetStream::isConnected ( ) const
inline

Definition at line 64 of file UT_NetStream.h.

int UT_NetStream::isDataReady ( )
int UT_NetStream::isThreadStarted ( ) const
inline

Definition at line 58 of file UT_NetStream.h.

int UT_NetStream::isValidStream ( ) const
inline

Definition at line 61 of file UT_NetStream.h.

virtual void UT_NetStream::justConnected ( )
inlineprotectedvirtual

Definition at line 81 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 ( std::istream &  is)
protectedpure virtual
void UT_NetStream::setDataReady ( )
int UT_NetStream::startIOThread ( )
int UT_NetStream::stopIOThread ( )
virtual void UT_NetStream::transmitData ( std::ostream &  os)
protectedpure virtual

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