RLocalPeer
Class in Core Module
Header: #include <src/core/RLocalPeer.h>
Inherits: QObject
Public Functions
Section titled “Public Functions”RLocalPeer(QObject *parent=0, const QString &appId=QString()) |
|
| QString | applicationId() const |
| bool | isClient() |
| bool | sendMessage(const QString &message, int timeout) |
Protected Attributes
Section titled “Protected Attributes”| QString | id |
| RLockedFile | lockFile |
| QLocalServer * | server |
| QString | socketName |
Protected Slots
Section titled “Protected Slots”| void | receiveConnection() |
Static Private Attributes
Section titled “Static Private Attributes”| static const char * | ack |
Signals
Section titled “Signals”| void | messageReceived(const QString &message) |
Member Documentation
Section titled “Member Documentation”RLocalPeer
Section titled “RLocalPeer”RLocalPeer::RLocalPeer(QObject *parent=0, const QString &appId=QString())applicationId
Section titled “applicationId”QString RLocalPeer::applicationId() constinline const
isClient
Section titled “isClient”bool RLocalPeer::isClient()sendMessage
Section titled “sendMessage”bool RLocalPeer::sendMessage(const QString &message, int timeout)QString RLocalPeer::idprotected
lockFile
Section titled “lockFile”RLockedFile RLocalPeer::lockFileprotected
server
Section titled “server”QLocalServer* RLocalPeer::serverprotected
socketName
Section titled “socketName”QString RLocalPeer::socketNameprotected
receiveConnection
Section titled “receiveConnection”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.
messageReceived
Section titled “messageReceived”void RLocalPeer::messageReceived(const QString &message)