public class UtpOutputStream extends OutputStream
DataPayloads to the socket.| Constructor and Description |
|---|
UtpOutputStream(UtpSocketImpl socket)
Creates a new outputstream for the given socket.
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
void |
write(byte[] buffer,
int offset,
int length) |
void |
write(int b) |
close, writepublic UtpOutputStream(UtpSocketImpl socket)
socket - The socket on which the packet must be written.public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] buffer,
int offset,
int length)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionCopyright © 2016. All rights reserved.