org.openmdx.base.stream.rmi.cci
Class BinarySink_1OutputStream
java.lang.Object
java.io.OutputStream
org.openmdx.base.stream.rmi.cci.BinarySink_1OutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class BinarySink_1OutputStream
- extends OutputStream
Streams: Character Sink Writer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
protected BinarySink_1_0 out
DEFAULT_CAPACITY
protected static int DEFAULT_CAPACITY
- The stream's default capacity
callbackContext
protected final ExecutionContext callbackContext
- Callback Context
BinarySink_1OutputStream
public BinarySink_1OutputStream(BinarySink_1_0 sink,
int capacity,
ExecutionContext callbackContext)
- Constructor
- Parameters:
sink - capacity - callbackContext - The execution context for callbacks
BinarySink_1OutputStream
public BinarySink_1OutputStream(BinarySink_1_0 sink,
ExecutionContext callbackContext)
- Constructor
- Parameters:
sink - callbackContext - The execution context for callbacks
isOpen
protected boolean isOpen()
write
public void write(byte[] b,
int off,
int len)
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
flush
public void flush()
throws IOException
- Specified by:
flush in interface Flushable- Overrides:
flush in class OutputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class OutputStream
- Throws:
IOException
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.