OpendTect
7.0
|
Public Types | |
enum | ConnType { FQDN , HostName , IPv4 } |
Public Member Functions | |
Authority (const Authority &) | |
Authority (const BufferString &servernm) | |
Authority (const char *host=nullptr, PortNr_Type=0, bool resolveipv6=false) | |
~Authority () | |
bool | addressIsValid () const |
void | addTo (OS::MachineCommand &, const char *ky=nullptr) const |
void | fromString (const char *, bool resolveipv6=false) |
BufferString | getConnHost (ConnType) const |
BufferString | getHost () const |
PortNr_Type | getPort () const |
BufferString | getServerName () const |
BufferString | getUserInfo () const |
bool | isAddressBased () const |
bool | isLocal () const |
bool | isOK () const |
bool | isUsable () const |
Authority & | localFromString (const char *) |
Authority & | operator= (const Authority &) |
bool | operator== (const Authority &) const |
bool | portIsFree (uiString *errmsg=nullptr) const |
SpecAddr | serverAddress () const |
void | setFreePort (uiRetVal &) |
Authority & | setFrom (const CommandLineParser &, const char *defservnm=nullptr, const char *defhostnm=nullptr, PortNr_Type defport=0) |
Authority & | setHost (const char *, bool resolveipv6=false) |
Authority & | setPort (PortNr_Type) |
Authority & | setUserInfo (const char *) |
BufferString | toString () const |
Static Public Member Functions | |
static BufferString | getAppServerName (const char *nm=nullptr) |
Private Member Functions | |
bool | hasAssignedPort () const |
void | setHostAddress (const char *, bool resolveipv6=false) |
Private Attributes | |
bool | hostisaddress_ |
PortNr_Type | port_ |
QString & | qhost_ |
QHostAddress & | qhostaddr_ |
BufferString | servernm_ |
BufferString | userinfo_ |
Friends | |
class | Socket |
<>
|
explicit |
Network::Authority::Authority | ( | const char * | host = nullptr , |
PortNr_Type | = 0 , |
||
bool | resolveipv6 = false |
||
) |
Network::Authority::Authority | ( | const Authority & | ) |
Network::Authority::~Authority | ( | ) |
bool Network::Authority::addressIsValid | ( | ) | const |
void Network::Authority::addTo | ( | OS::MachineCommand & | , |
const char * | ky = nullptr |
||
) | const |
void Network::Authority::fromString | ( | const char * | , |
bool | resolveipv6 = false |
||
) |
|
static |
BufferString Network::Authority::getConnHost | ( | ConnType | ) | const |
BufferString Network::Authority::getHost | ( | ) | const |
|
inline |
BufferString Network::Authority::getServerName | ( | ) | const |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
bool Network::Authority::isOK | ( | ) | const |
bool Network::Authority::isUsable | ( | ) | const |
Authority& Network::Authority::localFromString | ( | const char * | ) |
bool Network::Authority::operator== | ( | const Authority & | ) | const |
bool Network::Authority::portIsFree | ( | uiString * | errmsg = nullptr | ) | const |
SpecAddr Network::Authority::serverAddress | ( | ) | const |
void Network::Authority::setFreePort | ( | uiRetVal & | ) |
Authority& Network::Authority::setFrom | ( | const CommandLineParser & | , |
const char * | defservnm = nullptr , |
||
const char * | defhostnm = nullptr , |
||
PortNr_Type | defport = 0 |
||
) |
Authority& Network::Authority::setHost | ( | const char * | , |
bool | resolveipv6 = false |
||
) |
|
private |
Authority& Network::Authority::setPort | ( | PortNr_Type | ) |
Authority& Network::Authority::setUserInfo | ( | const char * | ) |
BufferString Network::Authority::toString | ( | ) | const |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024