|
YAACC - UPNP Client and Server
|
One TCP connection that the feed writes to, or a fake in a test. More...


Classes | |
| interface | Factory |
| Opens connections. More... | |
Public Member Functions | |
| void | write (byte[] data, int offset, int length) throws IOException |
| Writes all the bytes; blocks while the peer does not read. | |
| void | close () |
| Closes the connection; safe to call twice and from another thread. | |
One TCP connection that the feed writes to, or a fake in a test.
| void de.yaacc.snapcast.feed.FeedConnection.close | ( | ) |
Closes the connection; safe to call twice and from another thread.
Implemented in de.yaacc.snapcast.feed.SocketFeedConnection.
| void de.yaacc.snapcast.feed.FeedConnection.write | ( | byte[] | data, |
| int | offset, | ||
| int | length ) throws IOException |
Writes all the bytes; blocks while the peer does not read.
Another thread's close() ends the wait.
Implemented in de.yaacc.snapcast.feed.SocketFeedConnection.