rllib  1
Public Member Functions | Public Attributes | List of all members
rlDataProviderThreads Class Reference

#include <rldataprovider.h>

Collaboration diagram for rlDataProviderThreads:
Collaboration graph
[legend]

Public Member Functions

 rlDataProviderThreads (int Port, rlDataProvider *Provider)
 
virtual ~rlDataProviderThreads ()
 
void start ()
 

Public Attributes

rlDataProviderprovider
 
rlThread thread
 
int port
 

Detailed Description

This class starts a separate thread.
The thread is accepting clients, that want access to rlDataProvider.

Definition at line 89 of file rldataprovider.h.

Constructor & Destructor Documentation

◆ rlDataProviderThreads()

rlDataProviderThreads::rlDataProviderThreads ( int  Port,
rlDataProvider Provider 
)

Definition at line 617 of file rldataprovider.cpp.

618 {
619  rlwsa();
620  port = Port;
621  provider = Provider;
622 }
rlDataProvider * provider
int rlwsa()
Definition: rlsocket.cpp:68

◆ ~rlDataProviderThreads()

rlDataProviderThreads::~rlDataProviderThreads ( )
virtual

Definition at line 624 of file rldataprovider.cpp.

625 {
626 }

Member Function Documentation

◆ start()

void rlDataProviderThreads::start ( )

Definition at line 628 of file rldataprovider.cpp.

629 {
630  if(port <= 0) return;
631  if(port >= 256*256) return;
632  if(provider == NULL) return;
634 }
int create(void *(*func)(void *), void *argument)
Definition: rlthread.cpp:35
static void * rlDataProviderAccept(void *arg)
rlDataProvider * provider

Member Data Documentation

◆ port

int rlDataProviderThreads::port

Definition at line 97 of file rldataprovider.h.

◆ provider

rlDataProvider* rlDataProviderThreads::provider

Definition at line 95 of file rldataprovider.h.

◆ thread

rlThread rlDataProviderThreads::thread

Definition at line 96 of file rldataprovider.h.


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