Mema
Memory Matrix — multi-channel audio matrix monitor and router
Loading...
Searching...
No Matches
MemaServiceData.cpp
Go to the documentation of this file.
1/* Copyright (c) 2024-2025, Christian Ahrens
2 *
3 * This file is part of Mema <https://github.com/ChristianAhrens/Mema>
4 *
5 * This tool is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU Lesser General Public License version 3.0 as published
7 * by the Free Software Foundation.
8 *
9 * This tool is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12 * details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this tool; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 */
18
19#include "MemaServiceData.h"
20
21namespace Mema
22{
23
25{
26 return "Mema.";
27}
28
30{
31 return getServiceTypeUIDBase() + "MasterService";
32}
33
35{
36 return getServiceTypeUIDBase() + "MonitorService";
37}
38
40{
41 return getServiceTypeUIDBase() + "RemoteService";
42}
43
45{
46 return broadcastPort;
47}
48
50{
51 return connectionPort;
52}
53
54} // namespace Mema
Definition Mema.cpp:27
static juce::String getMasterServiceTypeUID()
Returns the UID for the Mema master (server) service.
static juce::String getRemoteServiceTypeUID()
Returns the UID for the Mema.Re remote-control service.
static juce::String getMonitorServiceTypeUID()
Returns the UID for the Mema.Mo monitor service.
static int getConnectionPort()
Returns the TCP port used for client connections (55668).
static juce::String getServiceTypeUIDBase()
Returns the base string for building service type UIDs.
static int getBroadcastPort()
Returns the UDP port used for multicast service announcements.