OpendTect-6_4  6.4
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 (int port)
 
 ~RemCommHandler ()
 
void listen () const
 Has to be called. 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...
 

Protected Member Functions

void dataReceivedCB (CallBacker *)
 
bool mkCommand (const IOPar &, BufferString &)
 
void uiErrorMsg (const char *)
 
od_ostreamcreateLogFile ()
 
void writeLog (const char *msg)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

od_ostreamlogstrm_
 
const int port_
 
Network::Server & server_
 

Detailed Description

Handles commands to be executed remotely on a different machine.

Constructor & Destructor Documentation

RemCommHandler::RemCommHandler ( int  port)
RemCommHandler::~RemCommHandler ( )

Member Function Documentation

od_ostream& RemCommHandler::createLogFile ( )
protected
void RemCommHandler::dataReceivedCB ( CallBacker )
protected
void RemCommHandler::listen ( ) const

Has to be called.

bool RemCommHandler::mkCommand ( const IOPar ,
BufferString  
)
protected
void RemCommHandler::uiErrorMsg ( const char *  )
protected
void RemCommHandler::writeLog ( const char *  msg)
protected

Member Data Documentation

od_ostream& RemCommHandler::logstrm_
protected
const int RemCommHandler::port_
protected
Network::Server& RemCommHandler::server_
protected

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