rllib  1
Public Member Functions | Public Attributes
rlDataProviderThreads Class Reference

#include <rldataprovider.h>

Collaboration diagram for rlDataProviderThreads:
Collaboration graph
[legend]

List of all members.

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 ( int  Port,
rlDataProvider Provider 
)

Definition at line 617 of file rldataprovider.cpp.

{
  rlwsa();
  port = Port;
  provider = Provider;
}
rlDataProviderThreads::~rlDataProviderThreads ( ) [virtual]

Definition at line 624 of file rldataprovider.cpp.

{
}

Member Function Documentation

void rlDataProviderThreads::start ( )

Definition at line 628 of file rldataprovider.cpp.

{
  if(port <= 0)        return;
  if(port >= 256*256)  return;
  if(provider == NULL) return;
  thread.create(rlDataProviderAccept,this);
}

Member Data Documentation

Definition at line 97 of file rldataprovider.h.

Definition at line 95 of file rldataprovider.h.

Definition at line 96 of file rldataprovider.h.


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