Skip to content

RLocalPeer

Class in Core Module
Header: #include <src/core/RLocalPeer.h>
Inherits: QObject

RLocalPeer(QObject *parent=0, const QString &appId=QString())
QString applicationId() const
bool isClient()
bool sendMessage(const QString &message, int timeout)
QString id
RLockedFile lockFile
QLocalServer * server
QString socketName
void receiveConnection()
static const char * ack
void messageReceived(const QString &message)

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

QString RLocalPeer::applicationId() const

inline const

bool RLocalPeer::isClient()

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

QString RLocalPeer::id

protected

RLockedFile RLocalPeer::lockFile

protected

QLocalServer* RLocalPeer::server

protected

QString RLocalPeer::socketName

protected

void RLocalPeer::receiveConnection()

protected

static const char * RLocalPeer::ack = "ack"

static private

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

void RLocalPeer::messageReceived(const QString &message)