public abstract class MessageOutputStream extends OutputStream implements Cancellable
Constructor and Description |
---|
MessageOutputStream() |
Modifier and Type | Method and Description |
---|---|
abstract MessageOutputStream |
cancel()
Cancel this message stream.
|
abstract void |
close()
Close this message stream.
|
abstract void |
flush()
Flush this message stream.
|
write, write, write
public abstract void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
- if an error occurs while flushing the streampublic abstract void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
- if a error occurs while closing the streampublic abstract MessageOutputStream cancel()
cancel
in interface Cancellable
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.