Mema
Memory Matrix — multi-channel audio matrix monitor and router
Loading...
Searching...
No Matches
MemaServiceData.h
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#pragma once
20
21#include <JuceHeader.h>
22
23
24namespace Mema
25{
26
29{
31 static juce::String getServiceTypeUIDBase();
33 static juce::String getMasterServiceTypeUID();
35 static juce::String getMonitorServiceTypeUID();
37 static juce::String getRemoteServiceTypeUID();
39 static juce::String getServiceDescription();
41 static int getBroadcastPort();
43 static int getConnectionPort();
44
45private:
46 static constexpr int broadcastPort = 55667;
47 static constexpr int connectionPort = 55668;
48};
49
50} // 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 getServiceDescription()
Returns the human-readable service description string.
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.