OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RemCommHandler Class Reference

Handles commands to be executed remotely on a different machine. More...

Inheritance diagram for RemCommHandler:
[legend]

Public Member Functions

 RemCommHandler (PortNr_Type)
 
 ~RemCommHandler ()
 
void listen () const
 Has to be called. More...
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 

Protected Member Functions

od_ostreamcreateLogFile ()
 
void dataReceivedCB (CallBacker *)
 
void writeLog (const char *msg)
 

Protected Attributes

od_ostreamlogstrm_
 
const PortNr_Type port_
 
Network::Serverserver_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

Handles commands to be executed remotely on a different machine.

<>

Constructor & Destructor Documentation

◆ RemCommHandler()

RemCommHandler::RemCommHandler ( PortNr_Type  )

◆ ~RemCommHandler()

RemCommHandler::~RemCommHandler ( )

Member Function Documentation

◆ createLogFile()

od_ostream& RemCommHandler::createLogFile ( )
protected

◆ dataReceivedCB()

void RemCommHandler::dataReceivedCB ( CallBacker )
protected

◆ listen()

void RemCommHandler::listen ( ) const

Has to be called.

◆ writeLog()

void RemCommHandler::writeLog ( const char *  msg)
protected

Member Data Documentation

◆ logstrm_

od_ostream& RemCommHandler::logstrm_
protected

◆ port_

const PortNr_Type RemCommHandler::port_
protected

◆ server_

Network::Server& RemCommHandler::server_
protected

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