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

The transport of a session: resolves the endpoint with a time limit (Resolver; nothing is looked up for a discovered server or an IP literal) and then connects to that InetAddress with a SocketTransport. More...

Inheritance diagram for de.yaacc.snapcast.ResolvingTransport:
Inheritance graph
Collaboration diagram for de.yaacc.snapcast.ResolvingTransport:
Collaboration graph

Public Member Functions

 ResolvingTransport (ServerEndpoint endpoint, Resolver resolver)
 
Connection open (int connectTimeoutMillis) throws IOException
 Opens a connection.
 
- Public Member Functions inherited from de.yaacc.snapcast.control.SnapcastTransport

Detailed Description

The transport of a session: resolves the endpoint with a time limit (Resolver; nothing is looked up for a discovered server or an IP literal) and then connects to that InetAddress with a SocketTransport.

The name is resolved again on every attempt (an address may change), and the control connection never does an unbounded lookup on the reader thread.

Member Function Documentation

◆ open()

Connection de.yaacc.snapcast.ResolvingTransport.open ( int connectTimeoutMillis) throws IOException

Opens a connection.

Parameters
connectTimeoutMillishow long the connect may take
Exceptions
IOExceptionwhen it fails

Implements de.yaacc.snapcast.control.SnapcastTransport.

Here is the call graph for this function:

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