org.apache.qpid.protocol
Interface AMQProtocolWriter

All Known Subinterfaces:
AMQVersionAwareProtocolSession

public interface AMQProtocolWriter

AMQProtocolWriter provides a method to write a frame of data 'to the wire', in the context of the object that implements the method, usually some sort of session. The block of data, encapsulated by AMQDataBlock, will be encoded as it is written.

CRC Card
Responsibilities
Write an encoded block of data to the write, in the context of a session.


Method Summary
 void writeFrame(AMQDataBlock frame)
          Writes a frame to the wire, encoding it as necessary, for example, into a sequence of bytes.
 

Method Detail

writeFrame

void writeFrame(AMQDataBlock frame)
Writes a frame to the wire, encoding it as necessary, for example, into a sequence of bytes.

Parameters:
frame - The frame to be encoded and written.


Licensed to the Apache Software Foundation