Processing worker app workflow
processingServiceServer = new ProcessingServiceServer("localHost:port");
processingServiceServer->Run();processingServiceClient = new ProcessingServiceClient("localHost:port");roomList = processingServiceClient->GetRoomList();foreach( room in roomList)
if (processingServiceClient->RoomJoin(room) == OK)
break;if (processingServiceClient->RequestProcessingData("room", out data) == OK)
{
result = Calculation();
processingServiceClient->PublishProcessingResult(roomName, result);
}2 Processing room workflow
3 Results accumulation and verification
4 Room join process
Last updated