|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentHeaderProperties
There will be an implementation of this interface for each content type. All content types have associated header properties and this provides a way to encode and decode them.
Method Summary | |
---|---|
int |
getPropertyFlags()
Gets the property flags. |
int |
getPropertyListSize()
|
void |
populatePropertiesFromBuffer(org.apache.mina.common.ByteBuffer buffer,
int propertyFlags,
int size)
Populates the properties from buffer. |
void |
updated()
|
void |
writePropertyListPayload(org.apache.mina.common.ByteBuffer buffer)
Writes the property list to the buffer, in a suitably encoded form. |
Method Detail |
---|
void writePropertyListPayload(org.apache.mina.common.ByteBuffer buffer)
buffer
- The buffer to write tovoid populatePropertiesFromBuffer(org.apache.mina.common.ByteBuffer buffer, int propertyFlags, int size) throws AMQFrameDecodingException
buffer
- The buffer to read from.propertyFlags
- he property flags.
AMQFrameDecodingException
- when the buffer does not contain valid dataint getPropertyListSize()
int getPropertyFlags()
void updated()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |