YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.multiroom.feed.FeedOutputFactory Interface Reference

Opens the feed to a stream port. More...

Collaboration diagram for de.yaacc.multiroom.feed.FeedOutputFactory:
Collaboration graph

Public Member Functions

FeedOutput open (InetAddress address, int port, Runnable onFailed) throws IOException
 Connects to exactly this address and port.
 

Detailed Description

Opens the feed to a stream port.

Member Function Documentation

◆ open()

FeedOutput de.yaacc.multiroom.feed.FeedOutputFactory.open ( InetAddress address,
int port,
Runnable onFailed ) throws IOException

Connects to exactly this address and port.

Blocking.

Parameters
addressthe peer address of the control connection (see FeedServer#peerAddress()), nothing else
portthe port that YAACC asked for
onFailedtold once if the feed fails later (not when it is closed); called on a thread of the feed
Exceptions
IOExceptionwhen the connection can not be made (without the address in the text)

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