public class AmqpFrameWriter extends AmqpBaseWriter
Constructor and Description |
---|
AmqpFrameWriter() |
AmqpFrameWriter(WriteStream os) |
Modifier and Type | Method and Description |
---|---|
void |
finishFrame() |
void |
flush() |
int |
getOffset() |
void |
init(WriteStream os) |
void |
startFrame(int type) |
void |
startFrame(int type,
int channel) |
int |
write(java.io.InputStream is) |
void |
write(int ch) |
void |
writeByte(int offset,
int value) |
shiftRight, writeInt
public AmqpFrameWriter()
public AmqpFrameWriter(WriteStream os)
public void init(WriteStream os)
public void startFrame(int type)
public void startFrame(int type, int channel)
public void finishFrame() throws java.io.IOException
java.io.IOException
public int write(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void write(int ch)
write
in class java.io.OutputStream
public int getOffset()
getOffset
in class AmqpBaseWriter
public void writeByte(int offset, int value)
writeByte
in class AmqpBaseWriter
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException