|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessagePart
Base interface for message parts (headers, footers and payload).
| Method Summary | |
|---|---|
void |
dump(java.io.PrintStream ps)
Dump object in human readable form. |
void |
serialize(Buffer buffer)
Serialization method. |
int |
serialSize()
Get serialization size. |
void |
unserialize(Buffer buffer)
De-serialization method for the header. |
void |
validate()
Validation method |
| Method Detail |
|---|
int serialSize()
void serialize(Buffer buffer)
throws InvalidMessageException
buffer - the output buffer
InvalidMessageException - if validation fails
void unserialize(Buffer buffer)
throws InvalidMessageException
buffer - the input buffer
InvalidMessageException - if validation failsvoid dump(java.io.PrintStream ps)
ps - the stream for printing
void validate()
throws InvalidMessageException
InvalidMessageException - if the contents of this message part are invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||