org.apache.qpid.transport
Class Struct

java.lang.Object
  extended by org.apache.qpid.transport.Struct
All Implemented Interfaces:
Encodable
Direct Known Subclasses:
Acquired, DeliveryProperties, ExchangeBoundResult, ExchangeQueryResult, FragmentProperties, GetTimeoutResult, MessageProperties, MessageResumeResult, Method, QueueQueryResult, RecoverResult, ReplyTo, SessionCommandFragment, SessionHeader, XaResult, Xid

public abstract class Struct
extends Object
implements Encodable

Struct


Field Summary
(package private)  boolean dirty
           
 
Constructor Summary
Struct()
           
 
Method Summary
static Struct create(int type)
           
 int getEncodedType()
           
abstract  Map<String,Object> getFields()
           
abstract  int getPackWidth()
           
abstract  int getSizeWidth()
           
abstract  int getStructType()
           
 boolean isDirty()
           
abstract  void read(Decoder dec)
          Decodes this encodable using the given decoder.
 void setDirty(boolean dirty)
           
 String toString()
           
abstract  void write(Encoder enc)
          Encodes this encodable using the given encoder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dirty

boolean dirty
Constructor Detail

Struct

public Struct()
Method Detail

create

public static Struct create(int type)

isDirty

public boolean isDirty()

setDirty

public void setDirty(boolean dirty)

getStructType

public abstract int getStructType()

getSizeWidth

public abstract int getSizeWidth()

getPackWidth

public abstract int getPackWidth()

getEncodedType

public final int getEncodedType()

read

public abstract void read(Decoder dec)
Description copied from interface: Encodable
Decodes this encodable using the given decoder.

Specified by:
read in interface Encodable
Parameters:
dec - the decoder.

write

public abstract void write(Encoder enc)
Description copied from interface: Encodable
Encodes this encodable using the given encoder.

Specified by:
write in interface Encodable
Parameters:
enc - the encoder.

getFields

public abstract Map<String,Object> getFields()

toString

public String toString()
Overrides:
toString in class Object


Licensed to the Apache Software Foundation