com.caucho.amqp.io
Class AmqpBaseWriter

java.lang.Object
  extended by java.io.OutputStream
      extended by com.caucho.amqp.io.AmqpBaseWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Direct Known Subclasses:
AmqpFrameWriter, AmqpStreamWriter

public abstract class AmqpBaseWriter
extends java.io.OutputStream


Constructor Summary
AmqpBaseWriter()
           
 
Method Summary
abstract  int getOffset()
           
 void shiftRight(int offset, int length)
           
abstract  void writeByte(int offset, int value)
           
 void writeInt(int offset, int value)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmqpBaseWriter

public AmqpBaseWriter()
Method Detail

getOffset

public abstract int getOffset()

writeByte

public abstract void writeByte(int offset,
                               int value)

writeInt

public void writeInt(int offset,
                     int value)

shiftRight

public void shiftRight(int offset,
                       int length)