Joram 5.2.4

org.objectweb.joram.mom.amqp.marshalling
Class AbstractMarshallingMethod

java.lang.Object
  extended by org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
All Implemented Interfaces:
FrameBuilder
Direct Known Subclasses:
AMQP.Access.Request, AMQP.Access.RequestOk, AMQP.Basic.Ack, AMQP.Basic.Cancel, AMQP.Basic.CancelOk, AMQP.Basic.Consume, AMQP.Basic.ConsumeOk, AMQP.Basic.Deliver, AMQP.Basic.Get, AMQP.Basic.GetEmpty, AMQP.Basic.GetOk, AMQP.Basic.Publish, AMQP.Basic.Qos, AMQP.Basic.QosOk, AMQP.Basic.Recover, AMQP.Basic.RecoverAsync, AMQP.Basic.RecoverOk, AMQP.Basic.Reject, AMQP.Basic.Return, AMQP.Channel.Close, AMQP.Channel.CloseOk, AMQP.Channel.Flow, AMQP.Channel.FlowOk, AMQP.Channel.Open, AMQP.Channel.OpenOk, AMQP.Connection.Close, AMQP.Connection.CloseOk, AMQP.Connection.Open, AMQP.Connection.OpenOk, AMQP.Connection.Secure, AMQP.Connection.SecureOk, AMQP.Connection.Start, AMQP.Connection.StartOk, AMQP.Connection.Tune, AMQP.Connection.TuneOk, AMQP.Exchange.Declare, AMQP.Exchange.DeclareOk, AMQP.Exchange.Delete, AMQP.Exchange.DeleteOk, AMQP.Queue.Bind, AMQP.Queue.BindOk, AMQP.Queue.Declare, AMQP.Queue.DeclareOk, AMQP.Queue.Delete, AMQP.Queue.DeleteOk, AMQP.Queue.Purge, AMQP.Queue.PurgeOk, AMQP.Queue.Unbind, AMQP.Queue.UnbindOk, AMQP.Tx.Commit, AMQP.Tx.CommitOk, AMQP.Tx.Rollback, AMQP.Tx.RollbackOk, AMQP.Tx.Select, AMQP.Tx.SelectOk

public abstract class AbstractMarshallingMethod
extends java.lang.Object
implements FrameBuilder


Field Summary
static org.objectweb.util.monolog.api.Logger logger
           
static int NULL_METHOD_ID
           
 
Constructor Summary
AbstractMarshallingMethod()
          Constructs an AbstractMarshallingMethod.
 
Method Summary
abstract  int getClassId()
           
abstract  java.lang.String getClassName()
           
abstract  int getMethodId()
           
abstract  java.lang.String getMethodName()
           
static AbstractMarshallingMethod read(byte[] payload)
           
abstract  void readFrom(AMQPInputStream is)
           
 Frame toFrame(int channelNumber)
           
abstract  void writeTo(AMQPOutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static org.objectweb.util.monolog.api.Logger logger

NULL_METHOD_ID

public static final int NULL_METHOD_ID
See Also:
Constant Field Values
Constructor Detail

AbstractMarshallingMethod

public AbstractMarshallingMethod()
Constructs an AbstractMarshallingMethod.

Method Detail

getClassId

public abstract int getClassId()

getClassName

public abstract java.lang.String getClassName()

getMethodId

public abstract int getMethodId()

getMethodName

public abstract java.lang.String getMethodName()

writeTo

public abstract void writeTo(AMQPOutputStream os)
                      throws java.io.IOException
Throws:
java.io.IOException

readFrom

public abstract void readFrom(AMQPInputStream is)
                       throws java.io.IOException
Throws:
java.io.IOException

read

public static AbstractMarshallingMethod read(byte[] payload)
                                      throws java.io.IOException,
                                             java.lang.ClassNotFoundException,
                                             java.lang.InstantiationException,
                                             java.lang.IllegalAccessException
Throws:
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException

toFrame

public Frame toFrame(int channelNumber)
              throws java.io.IOException
Specified by:
toFrame in interface FrameBuilder
Throws:
java.io.IOException

Joram 5.2.4

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved