com.barchart.udt.nio
Class NioOutputStreamUDT
java.lang.Object
java.io.OutputStream
com.barchart.udt.nio.NioOutputStreamUDT
- All Implemented Interfaces:
- Closeable, Flushable
public class NioOutputStreamUDT
- extends OutputStream
OutputStream for UDT sockets.
|
Method Summary |
void |
close()
|
void |
write(byte[] bytes)
|
void |
write(byte[] bytes,
int off,
int len)
|
void |
write(int b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
channel
protected final SocketChannelUDT channel
NioOutputStreamUDT
protected NioOutputStreamUDT(SocketChannelUDT channel)
- Creates a new UDT output stream.
- Parameters:
channel - The UDT socket channel.
write
public void write(byte[] bytes,
int off,
int len)
throws IOException
- Overrides:
write in class OutputStream
- Throws:
IOException
write
public void write(byte[] bytes)
throws IOException
- Overrides:
write in class OutputStream
- Throws:
IOException
write
public void write(int b)
throws IOException
- Specified by:
write in class OutputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class OutputStream
- Throws:
IOException
Copyright © 2009-2013 Barchart, Inc.. All Rights Reserved.