org.apache.qpid.framing
Interface BodyFactory
- All Known Implementing Classes:
- AMQMethodBodyFactory, ContentBodyFactory, ContentHeaderBodyFactory, HeartbeatBodyFactory
public interface BodyFactory
Any class that is capable of turning a stream of bytes into an AMQ structure must implement this interface.
Method Summary |
AMQBody |
createBody(org.apache.mina.common.ByteBuffer in,
long bodySize)
|
createBody
AMQBody createBody(org.apache.mina.common.ByteBuffer in,
long bodySize)
throws AMQFrameDecodingException
- Throws:
AMQFrameDecodingException
Licensed to the Apache Software Foundation