summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/pvsConnectionManager.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/pvsConnectionManager.cpp b/src/core/pvsConnectionManager.cpp
index 8a35ca9..aabd869 100644
--- a/src/core/pvsConnectionManager.cpp
+++ b/src/core/pvsConnectionManager.cpp
@@ -93,6 +93,14 @@ void PVSConnectionManager::onClientRemove(PVSClientConnection* removedConnection
}
// Inform all chat clients about a new event.
+// hier eventuell prozesse anzeigen einbinden
+//
+//
+//
+//
+//
+//
+//
void PVSConnectionManager::sendEventToClients(QString event, PVSClientConnection* connection, QString clientName)
{
if(event.compare("addedConnection") == 0)
@@ -109,6 +117,8 @@ void PVSConnectionManager::sendEventToClients(QString event, PVSClientConnection
if(event.compare("addedClient") == 0)
{
// send name to everybody to all connected clients.
+ _pvsServer.sendToAll(PVSMsg(PVSCOMMAND, "SHOWPROCESSES", ""));
+ ConsoleLog writeNetwork("SHOWPROCESSES sent...");
_pvsServer.sendToAll(PVSMsg(PVSMESSAGE, "clientToAdd", ":" + clientName, 0));
connection->push_back_send(PVSMsg(PVSMESSAGE, "assignedName", ":" + clientName, 0));
connection->push_back_send(PVSMsg(PVSMESSAGE, "clientToAdd", ":PVSMGR:local", 0));