public static class TCPServerActivity.QueueWriterAdapter extends Writer
| Constructor and Description |
|---|
QueueWriterAdapter(BlockingQueue<String> queue) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(@NotNull char[] cbuf,
int off,
int len) |
public QueueWriterAdapter(BlockingQueue<String> queue)
public void write(@NotNull
@NotNull char[] cbuf,
int off,
int len)
public void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionCopyright © 2018. All rights reserved.