List of usage examples for com.rabbitmq.client.impl AMQCommand handleFrame
public boolean handleFrame(Frame f) throws IOException
From source file:de.htwk_leipzig.bis.connection.handshake.clientRewrite.AMQChannel.java
License:Mozilla Public License
/** * Private API - When the Connection receives a Frame for this channel, it * passes it to this method.// w ww . j a v a 2 s . c o m * * @param frame * the incoming frame * @throws IOException * if an error is encountered */ public void handleFrame(Frame frame) throws IOException { AMQCommand command = _command; if (command.handleFrame(frame)) { // a complete command has rolled off // the assembly line _command = new AMQCommand(); // prepare for the next one handleCompleteInboundCommand(command); } }