Class AbstractMarshallingMethod
- java.lang.Object
-
- org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
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 Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description intchannelNumberprivate static Loggerloggerprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description AbstractMarshallingMethod()Constructs anAbstractMarshallingMethod.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract intgetClassId()abstract StringgetClassName()abstract intgetMethodId()abstract StringgetMethodName()static AbstractMarshallingMethodread(byte[] payload)abstract voidreadFrom(AMQPInputStream is)FrametoFrame()abstract voidwriteTo(AMQPOutputStream os)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
logger
private static final Logger logger
-
channelNumber
public int channelNumber
-
-
Method Detail
-
getClassId
public abstract int getClassId()
-
getClassName
public abstract String getClassName()
-
getMethodId
public abstract int getMethodId()
-
getMethodName
public abstract String getMethodName()
-
writeTo
public abstract void writeTo(AMQPOutputStream os) throws IOException
- Throws:
IOException
-
readFrom
public abstract void readFrom(AMQPInputStream is) throws IOException, SyntaxErrorException
- Throws:
IOExceptionSyntaxErrorException
-
read
public static AbstractMarshallingMethod read(byte[] payload) throws IOException, FrameErrorException
- Throws:
IOExceptionFrameErrorException
-
toFrame
public Frame toFrame() throws IOException
- Throws:
IOException
-
-