com.caucho.amqp.io
Interface AmqpFrameHandler

All Known Implementing Classes:
AmqpConnectionHandler

public interface AmqpFrameHandler

AMQP client/server frame handler.


Method Summary
 void onAttach(FrameAttach frameAttach)
           
 void onBegin(FrameBegin frameBegin)
          Receives a session-begin frame.
 void onClose(FrameClose frameClose)
           
 void onDetach(FrameDetach frameDetach)
           
 void onDisposition(FrameDisposition frameDisposition)
           
 void onEnd(FrameEnd frameEnd)
           
 void onFlow(FrameFlow frameFlow)
           
 void onTransfer(AmqpReader ain, FrameTransfer frameTransfer)
           
 

Method Detail

onBegin

void onBegin(FrameBegin frameBegin)
             throws java.io.IOException
Receives a session-begin frame.

Throws:
java.io.IOException

onEnd

void onEnd(FrameEnd frameEnd)
           throws java.io.IOException
Parameters:
frameEnd -
Throws:
java.io.IOException

onClose

void onClose(FrameClose frameClose)
             throws java.io.IOException
Parameters:
frameClose -
Throws:
java.io.IOException

onAttach

void onAttach(FrameAttach frameAttach)
              throws java.io.IOException
Parameters:
frameAttach -
Throws:
java.io.IOException

onDetach

void onDetach(FrameDetach frameDetach)
              throws java.io.IOException
Parameters:
frameDetach -
Throws:
java.io.IOException

onTransfer

void onTransfer(AmqpReader ain,
                FrameTransfer frameTransfer)
                throws java.io.IOException
Parameters:
frameTransfer -
Throws:
java.io.IOException

onDisposition

void onDisposition(FrameDisposition frameDisposition)
                   throws java.io.IOException
Parameters:
frameDisposition -
Throws:
java.io.IOException

onFlow

void onFlow(FrameFlow frameFlow)
            throws java.io.IOException
Parameters:
frameFlow -
Throws:
java.io.IOException