YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.snapcast.discovery.SnapcastEndpoints Class Reference

The endpoint of a snapserver: the ServerEndpoint of the shared discovery with the default port of the raw TCP control interface of a snapserver. More...

Collaboration diagram for de.yaacc.snapcast.discovery.SnapcastEndpoints:
Collaboration graph

Static Public Member Functions

static ServerEndpoint parse (String text)
 Reads host[:port] (see ServerEndpoint#parse(String, int)) with CONTROL_PORT as the port when there is none.
 

Static Public Attributes

static final int CONTROL_PORT = 1705
 The port of the raw TCP control interface of a snapserver.
 

Detailed Description

The endpoint of a snapserver: the ServerEndpoint of the shared discovery with the default port of the raw TCP control interface of a snapserver.

The other protocols pass their own default port to ServerEndpoint#parse(String, int).

Member Function Documentation

◆ parse()

static ServerEndpoint de.yaacc.snapcast.discovery.SnapcastEndpoints.parse ( String text)
static

Reads host[:port] (see ServerEndpoint#parse(String, int)) with CONTROL_PORT as the port when there is none.

Returns
the endpoint, or null when the text is not a valid host[:port]

Referenced by de.yaacc.snapcast.discovery.ManualServers.add(), and de.yaacc.snapcast.discovery.ServerKey.parse().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: