OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
Network::RequestServer Class Reference
Inheritance diagram for Network::RequestServer:
[legend]

Public Member Functions

 RequestServer (unsigned short serverport)
 
 ~RequestServer ()
 
bool isOK () const
 
Server * server ()
 
RequestConnectionpickupNewConnection ()
 
uiString errMsg () const
 Becomes yours. More...
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Public Attributes

Notifier< RequestServernewConnection
 

Private Member Functions

 mODTextTranslationClass (RequestServer)
 
void newConnectionCB (CallBacker *)
 

Private Attributes

uiString errmsg_
 
ObjectSet< RequestConnectionpendingconns_
 
Threads::Lock lock_
 
unsigned short serverport_
 
Server * server_
 

Additional Inherited Members

- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Detailed Description

Sets up a listening service at the port and creates Network::RequestConnections when there is a connection.

Constructor & Destructor Documentation

Network::RequestServer::RequestServer ( unsigned short  serverport)
Network::RequestServer::~RequestServer ( )

Member Function Documentation

uiString Network::RequestServer::errMsg ( ) const
inline

Becomes yours.

bool Network::RequestServer::isOK ( ) const
Network::RequestServer::mODTextTranslationClass ( RequestServer  )
private
void Network::RequestServer::newConnectionCB ( CallBacker )
private
RequestConnection* Network::RequestServer::pickupNewConnection ( )
Server* Network::RequestServer::server ( )
inline

Member Data Documentation

uiString Network::RequestServer::errmsg_
private
Threads::Lock Network::RequestServer::lock_
private
Notifier<RequestServer> Network::RequestServer::newConnection
ObjectSet<RequestConnection> Network::RequestServer::pendingconns_
private
Server* Network::RequestServer::server_
private
unsigned short Network::RequestServer::serverport_
private

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019