org.apache.qpid.transport
Class Struct
java.lang.Object
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
|
dirty
boolean dirty
Struct
public Struct()
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