OpendTect
6.6
|
Public Types | |
typedef ProcID | ID |
enum | ServType { ODGui , ODBatchGui , ODBatch , ODTest , Python , Other } |
typedef Batch::ID | SubID |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
Public Member Functions | |
Service (const Authority &) | |
Service (const OD::JSON::Object &) | |
Service (const Service &)=delete | |
Service (PortNr_Type, const char *hostnm=nullptr) | |
~Service () | |
BufferString | address () const |
void | fillJSON (OD::JSON::Object &) const |
Authority | getAuthority () const |
ID | getID () const |
SubID | getSubID () const |
bool | isAlive () const |
bool | isBatch () const |
bool | isEmpty () const |
bool | isOK () const |
bool | isPortValid () const |
BufferString | logFnm () const |
uiRetVal | message () const |
bool | operator!= (const Service &) const |
Service & | operator= (const Service &)=delete |
bool | operator== (const Service &) const |
ProcID | PID () const |
PortNr_Type | port () const |
void | printInfo (const char *ky=nullptr, od_ostream *=nullptr) const |
void | setEmpty () |
void | setHostName (const char *) |
void | setLogFile (const char *) |
void | setPID (const OS::CommandLauncher &) |
void | setPID (ProcID) |
void | setPort (PortNr_Type) |
void | setType (ServType typ) |
void | setViewOnly (bool yn=true) |
void | stop (bool removelog=true) |
ServType | type () const |
BufferString | url () const |
uiRetVal | useJSON (const OD::JSON::Object &) |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=nullptr) | |
NamedObject (const NamedObject &oth) | |
virtual | ~NamedObject () |
virtual BufferString | getName () const |
bool | getNameFromPar (const IOPar &) |
virtual const name_type & | name () const |
NamedObject & | operator= (const NamedObject &) |
bool | operator== (const NamedObject &oth) const |
virtual void | setName (const char *nm) |
Public Member Functions inherited from ObjectWithName | |
virtual | ~ObjectWithName () |
bool | hasName (const char *nm) const |
bool | hasName (const name_type &nm) const |
void | putNameInPar (IOPar &) const |
Static Public Member Functions | |
static ID | getID (const OD::JSON::Object &) |
static BufferString | getServiceName (const OD::JSON::Object &) |
static const char * | sKeyLogFile () |
static const char * | sKeyPID () |
static const char * | sKeyServiceName () |
static const char * | sKeyServiceType () |
static const char * | sKeySubID () |
Private Member Functions | |
void | init () |
Private Attributes | |
Authority | auth_ |
FilePath * | logfp_ = nullptr |
uiRetVal | msg_ |
ProcID | pid_ = 0 |
SubID | subid_ = Batch::JobDispatcher::getInvalid() |
ServType | type_ |
bool | viewonly_ = false |
Additional Inherited Members | |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
<>
typedef ProcID Network::Service::ID |
typedef Batch::ID Network::Service::SubID |
Network::Service::Service | ( | PortNr_Type | , |
const char * | hostnm = nullptr |
||
) |
Network::Service::Service | ( | const Authority & | ) |
Network::Service::Service | ( | const OD::JSON::Object & | ) |
|
delete |
Network::Service::~Service | ( | ) |
BufferString Network::Service::address | ( | ) | const |
void Network::Service::fillJSON | ( | OD::JSON::Object & | ) | const |
|
inline |
ID Network::Service::getID | ( | ) | const |
|
static |
|
static |
|
inline |
|
private |
bool Network::Service::isAlive | ( | ) | const |
bool Network::Service::isBatch | ( | ) | const |
bool Network::Service::isEmpty | ( | ) | const |
bool Network::Service::isOK | ( | ) | const |
bool Network::Service::isPortValid | ( | ) | const |
BufferString Network::Service::logFnm | ( | ) | const |
|
inline |
bool Network::Service::operator!= | ( | const Service & | ) | const |
bool Network::Service::operator== | ( | const Service & | ) | const |
|
inline |
PortNr_Type Network::Service::port | ( | ) | const |
void Network::Service::printInfo | ( | const char * | ky = nullptr , |
od_ostream * | = nullptr |
||
) | const |
void Network::Service::setEmpty | ( | ) |
void Network::Service::setHostName | ( | const char * | ) |
void Network::Service::setLogFile | ( | const char * | ) |
void Network::Service::setPID | ( | const OS::CommandLauncher & | ) |
void Network::Service::setPID | ( | ProcID | ) |
void Network::Service::setPort | ( | PortNr_Type | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
void Network::Service::stop | ( | bool | removelog = true | ) |
|
inline |
BufferString Network::Service::url | ( | ) | const |
uiRetVal Network::Service::useJSON | ( | const OD::JSON::Object & | ) |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022