1 #include <QHostAddress>
15 if (qcepDebug(DEBUG_SERVER)) {
28 ctl->printMessage(msg, ts);
37 QString str = ts.readLine();
39 if (qcepDebug(DEBUG_SERVER)) {
47 QMetaObject::invokeMethod(ctl.data(),
"executeServerCommand",
49 Q_ARG(QString, str)));
56 if (qcepDebug(DEBUG_SERVER)) {
61 m_Socket -> write(qPrintable(result.toString()+
"\n"));
67 if (qcepDebug(DEBUG_SERVER)) {
void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())
QWeakPointer< QPidController > QPidControllerWPtr
QWeakPointer< QPidServerSession > QPidServerSessionWPtr
QWeakPointer< QPidServer > QPidServerWPtr
QSharedPointer< QPidController > QPidControllerPtr
QPidControllerWPtr m_Controller
QSharedPointer< QPidServerSession > QPidServerSessionPtr
QPidServerSession(QPidServerWPtr server, QPidControllerWPtr ctrl, QTcpSocketPtr socket)
QSharedPointer< QTcpSocket > QTcpSocketPtr
void finishedCommand(QScriptValue result)
QSharedPointer< QPidServer > QPidServerPtr