public abstract class AbstractDelegatingMessageOutputStream extends MessageOutputStream
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDelegatingMessageOutputStream(MessageOutputStream delegate) |
| Modifier and Type | Method and Description |
|---|---|
MessageOutputStream |
cancel()
Cancel this message stream.
|
void |
close()
Close this message stream.
|
void |
flush()
Flush this message stream.
|
protected MessageOutputStream |
getDelegate() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
void |
writeBoolean(boolean v) |
void |
writeByte(int v) |
void |
writeBytes(String s) |
void |
writeChar(int v) |
void |
writeChars(String s) |
void |
writeDouble(double v) |
void |
writeFloat(float v) |
void |
writeInt(int v) |
void |
writeLong(long v) |
void |
writeShort(int v) |
void |
writeUTF(String s) |
protected AbstractDelegatingMessageOutputStream(MessageOutputStream delegate)
protected MessageOutputStream getDelegate()
public void flush()
throws IOException
MessageOutputStreamflush in interface Flushableflush in class MessageOutputStreamIOException - if an error occurs while flushing the streampublic void close()
throws IOException
MessageOutputStreamclose in interface Closeableclose in interface AutoCloseableclose in class MessageOutputStreamIOException - if a error occurs while closing the streampublic MessageOutputStream cancel()
MessageOutputStreamcancel in interface Cancellablecancel in class MessageOutputStreampublic void writeBoolean(boolean v)
throws IOException
MessageOutputStreamwriteBoolean in interface DataOutputwriteBoolean in class MessageOutputStreamIOExceptionpublic void writeByte(int v)
throws IOException
MessageOutputStreamwriteByte in interface DataOutputwriteByte in class MessageOutputStreamIOExceptionpublic void writeShort(int v)
throws IOException
MessageOutputStreamwriteShort in interface DataOutputwriteShort in class MessageOutputStreamIOExceptionpublic void writeChar(int v)
throws IOException
MessageOutputStreamwriteChar in interface DataOutputwriteChar in class MessageOutputStreamIOExceptionpublic void writeInt(int v)
throws IOException
MessageOutputStreamwriteInt in interface DataOutputwriteInt in class MessageOutputStreamIOExceptionpublic void writeLong(long v)
throws IOException
MessageOutputStreamwriteLong in interface DataOutputwriteLong in class MessageOutputStreamIOExceptionpublic void writeFloat(float v)
throws IOException
MessageOutputStreamwriteFloat in interface DataOutputwriteFloat in class MessageOutputStreamIOExceptionpublic void writeDouble(double v)
throws IOException
MessageOutputStreamwriteDouble in interface DataOutputwriteDouble in class MessageOutputStreamIOExceptionpublic void writeBytes(String s) throws IOException
MessageOutputStreamwriteBytes in interface DataOutputwriteBytes in class MessageOutputStreamIOExceptionpublic void writeChars(String s) throws IOException
MessageOutputStreamwriteChars in interface DataOutputwriteChars in class MessageOutputStreamIOExceptionpublic void writeUTF(String s) throws IOException
MessageOutputStreamwriteUTF in interface DataOutputwriteUTF in class MessageOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in interface DataOutputwrite in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in interface DataOutputwrite in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in interface DataOutputwrite in class OutputStreamIOExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.