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
MessageOutputStream
flush
in interface Flushable
flush
in class MessageOutputStream
IOException
- if an error occurs while flushing the streampublic void close() throws IOException
MessageOutputStream
close
in interface Closeable
close
in interface AutoCloseable
close
in class MessageOutputStream
IOException
- if a error occurs while closing the streampublic MessageOutputStream cancel()
MessageOutputStream
cancel
in interface Cancellable
cancel
in class MessageOutputStream
public void writeBoolean(boolean v) throws IOException
MessageOutputStream
writeBoolean
in interface DataOutput
writeBoolean
in class MessageOutputStream
IOException
public void writeByte(int v) throws IOException
MessageOutputStream
writeByte
in interface DataOutput
writeByte
in class MessageOutputStream
IOException
public void writeShort(int v) throws IOException
MessageOutputStream
writeShort
in interface DataOutput
writeShort
in class MessageOutputStream
IOException
public void writeChar(int v) throws IOException
MessageOutputStream
writeChar
in interface DataOutput
writeChar
in class MessageOutputStream
IOException
public void writeInt(int v) throws IOException
MessageOutputStream
writeInt
in interface DataOutput
writeInt
in class MessageOutputStream
IOException
public void writeLong(long v) throws IOException
MessageOutputStream
writeLong
in interface DataOutput
writeLong
in class MessageOutputStream
IOException
public void writeFloat(float v) throws IOException
MessageOutputStream
writeFloat
in interface DataOutput
writeFloat
in class MessageOutputStream
IOException
public void writeDouble(double v) throws IOException
MessageOutputStream
writeDouble
in interface DataOutput
writeDouble
in class MessageOutputStream
IOException
public void writeBytes(String s) throws IOException
MessageOutputStream
writeBytes
in interface DataOutput
writeBytes
in class MessageOutputStream
IOException
public void writeChars(String s) throws IOException
MessageOutputStream
writeChars
in interface DataOutput
writeChars
in class MessageOutputStream
IOException
public void writeUTF(String s) throws IOException
MessageOutputStream
writeUTF
in interface DataOutput
writeUTF
in class MessageOutputStream
IOException
public void write(int b) throws IOException
write
in interface DataOutput
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in interface DataOutput
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in interface DataOutput
write
in class OutputStream
IOException
Copyright © 2021 JBoss by Red Hat. All rights reserved.