 |
OpendTect
6.6
|
Go to the documentation of this file.
37 bool listen(
const char* servernm,
uiRetVal&);
38 bool isListening()
const;
40 Authority authority()
const;
41 bool isLocal()
const {
return qlocalserver_; }
44 bool hasPendingConnections()
const;
45 int write(
int id,
const char*);
47 int write(
int id,
const IOPar&);
49 void read(
int id,
IOPar&)
const;
50 const char* errorMsg()
const;
52 Socket* getSocket(
int id);
53 const Socket* getSocket(
int id)
const;
58 mQtclass(QTcpSocket)* nextPendingConnection();
60 mQtclass(QLocalSocket)* nextPendingLocalConnection();
62 bool waitForNewConnection(
int msec);
66 static const char* sKeyHostName() {
return "hostname"; }
67 static const char* sKeyNoListen() {
return "no-listen"; }
68 static const char* sKeyPort() {
return "port"; }
69 static const char* sKeyTimeout() {
return "timeout"; }
70 static const char* sKeyKillword() {
return "kill"; }
71 static const char* sKeyLocal() {
return "local"; }
75 void notifyNewConnection();
79 mQtclass(QTcpServer)* qtcpserver_ =
nullptr;
80 mQtclass(QLocalServer)* qlocalserver_ =
nullptr;
87 friend class mQtclass(QTcpServerComm);
Set of pointers to objects.
Definition: commontypes.h:31
#define mExpClass(module)
Definition: commondefs.h:177
mFDQtclass(QTcpSocket) mFDQtclass(QTcpServer) mFDQtclass(QLocalSocket) mFDQtclass(QLocalServer) mFDQtclass(QTcpServerComm) namespace Network
Definition: netserver.h:17
Definition: jobcommunic.h:22
Definition: uistringset.h:105
FixedString Server()
Definition: keystrs.h:137
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
SpecAddr
Definition: networkcommon.h:33
Definition: qtcpservercomm.h:27
@ Any
Definition: networkcommon.h:33
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
#define mQtclass(cls)
Definition: commondefs.h:234
BufferString errmsg_
Definition: horizontracker.h:118
unsigned short PortNr_Type
Definition: commontypes.h:37
Notifier with automatic capsule creation.
Definition: notify.h:171
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021