org.apache.activemq.transport.stomp
Class FrameTranslator.Helper

java.lang.Object
  extended by org.apache.activemq.transport.stomp.FrameTranslator.Helper
Enclosing interface:
FrameTranslator

public static final class FrameTranslator.Helper
extends Object

Helper class which holds commonly needed functions used when implementing FrameTranslators


Method Summary
static void copyStandardHeadersFromFrameToMessage(ProtocolConverter converter, StompFrame command, ActiveMQMessage msg, FrameTranslator ft)
           
static void copyStandardHeadersFromMessageToFrame(ProtocolConverter converter, ActiveMQMessage message, StompFrame command, FrameTranslator ft)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copyStandardHeadersFromMessageToFrame

public static void copyStandardHeadersFromMessageToFrame(ProtocolConverter converter,
                                                         ActiveMQMessage message,
                                                         StompFrame command,
                                                         FrameTranslator ft)
                                                  throws IOException
Throws:
IOException

copyStandardHeadersFromFrameToMessage

public static void copyStandardHeadersFromFrameToMessage(ProtocolConverter converter,
                                                         StompFrame command,
                                                         ActiveMQMessage msg,
                                                         FrameTranslator ft)
                                                  throws ProtocolException,
                                                         JMSException
Throws:
ProtocolException
JMSException


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.