Supplies either a discovered device id or a direct address. Used by MidiNetworkClientConnectConfig.
Constructors
| Constructor |
Description |
MidiNetworkClientMatchCriteria() |
Create empty criteria |
Properties
| Property |
Description |
DeviceId |
The device id of a host discovered over mDNS, as reported by MidiNetworkAdvertisedHost.DeviceId |
DirectHostNameOrIPAddress |
Host name or IP address of the remote host, for a direct connection |
DirectPort |
UDP port of the remote host, for a direct connection |
Methods
| Method |
Description |
GetConfigJson() |
Returns the JSON fragment this object produces, for writing to the configuration file |
Set DeviceId for a discovered host, or DirectHostNameOrIPAddress and DirectPort for a direct one. The choice determines how the service behaves when the host is unreachable: a discovered host is retried whenever it advertises again, whereas a direct address is tried once and then marked unavailable. See the namespace overview for the full table.