Version: 9.12.0
QtLocalPeer Class Reference

#include <qtlocalpeer.h>

Inheritance diagram for QtLocalPeer:
Inheritance graph

Signals

void messageReceived (const QString &message)
 

Public Member Functions

 QtLocalPeer (QObject *parent=0, const QString &appId=QString())
 
bool isClient ()
 
bool sendMessage (const QString &message, int timeout)
 
QString applicationId () const
 

Protected Slots

void receiveConnection ()
 

Protected Attributes

QString id
 
QString socketName
 
QLocalServer * server
 
QtLP_Private::QtLockedFile lockFile
 

Static Private Attributes

static const char * ack
 

Constructor & Destructor Documentation

◆ QtLocalPeer()

QtLocalPeer::QtLocalPeer ( QObject parent = 0,
const QString &  appId = QString() 
)

Member Function Documentation

◆ applicationId()

QString QtLocalPeer::applicationId ( ) const
inline

References id.

◆ isClient()

bool QtLocalPeer::isClient ( )

◆ messageReceived

void QtLocalPeer::messageReceived ( const QString &  message)
signal

◆ receiveConnection

void QtLocalPeer::receiveConnection ( )
protectedslot

◆ sendMessage()

bool QtLocalPeer::sendMessage ( const QString &  message,
int  timeout 
)

Member Data Documentation

◆ ack

const char* QtLocalPeer::ack
staticprivate

◆ id

QString QtLocalPeer::id
protected

◆ lockFile

QtLP_Private::QtLockedFile QtLocalPeer::lockFile
protected

◆ server

QLocalServer* QtLocalPeer::server
protected

◆ socketName

QString QtLocalPeer::socketName
protected

The documentation for this class was generated from the following file: