42 #ifndef QTRANSPORTAUTH_QWS_H 43 #define QTRANSPORTAUTH_QWS_H 45 #include <QtCore/qglobal.h> 47 #if !defined(QT_NO_SXE) || defined(SXE_INSTALLER) 49 #include <QtCore/qobject.h> 50 #include <QtCore/qhash.h> 51 #include <QtCore/qstring.h> 52 #include <QtCore/qbuffer.h> 53 #include <QtCore/qpointer.h> 55 #include <sys/types.h> 99 UnixStreamSock = 0x04,
117 (
properties & TransportType ) == UnixStreamSock )
127 bool trusted()
const;
128 void setTrusted(
bool );
129 bool connection()
const;
130 void setConnection(
bool );
141 void setKeyFilePath(
const QString & );
143 const unsigned char *getClientKey(
unsigned char progId );
144 void invalidateClientKeyCache();
145 QMutex *getKeyFileMutex();
146 void setLogFilePath(
const QString & );
148 void setPackageRegistry(
QObject *registry );
149 bool isDiscoveryMode()
const;
150 void setProcessKey(
const char * );
151 void setProcessKey(
const char *,
const char * );
152 void registerPolicyReceiver(
QObject * );
153 void unregisterPolicyReceiver(
QObject * );
164 void bufferDestroyed(
QObject * );
216 bool isSequential()
const;
218 qint64 bytesAvailable()
const;
219 qint64 bytesToWrite()
const;
227 void recvReadyRead();
228 void targetBytesWritten(
qint64 );
230 bool authorizeMessage();
255 return msgQueue.isEmpty();
260 if ( way == Receive )
261 return m_bytesAvailable;
263 return ( m_target ? m_target->bytesAvailable() : 0 );
268 return msgQueue.size();
284 #endif // QTRANSPORTAUTH_QWS_H
qint64 bytesAnalyzed() const
#define QT_END_NAMESPACE
This macro expands to.
The QMutex class provides access serialization between threads.
qint64 bytesAvailable() const
Returns the number of bytes that are available for reading.
The QByteArray class provides an array of bytes.
Pass-through QIODevice sub-class for authentication.
The QString class provides a Unicode character string.
void setTarget(QIODevice *t)
The QObject class is the base class of all Qt objects.
Q_GUI_EXPORT QString errorString(EGLint code=eglGetError())
#define QT_BEGIN_NAMESPACE
This macro expands to.
RequestAnalyzer * analyzer
static const char * data(const QByteArray &arr)
bool seek(qint64)
For random-access devices, this function sets the current position to pos, returning true on success...
Data(unsigned char p, int d)
QIODevice * target() const
bool isSequential() const
Returns true if this device is sequential; otherwise returns false.
QString operator()(QByteArray *data)
static const QCssKnownValue properties[NumProperties - 1]
bool atEnd() const
Returns true if the current read and write position is at the end of the device (i.e.
#define Q_DECLARE_PRIVATE(Class)
Authenticate a message transport.
The QIODevice class is the base interface class of all I/O devices in Qt.
qint64 bytesToWrite() const
For buffered devices, this function returns the number of bytes waiting to be written.
The QWSClient class encapsulates a client process in Qt for Embedded Linux.
bool requireMoreData() const