Package com.ibm.mq.headers
Interface MQChainable
- All Known Implementing Classes:
MQCIH,MQDH,MQDLH,MQEPH,MQIIH,MQMD,MQMD1,MQMDE,MQRFH,MQRFH2,MQSAPH,MQXQH
public interface MQChainable
Interface implemented by header structures that can be chained. A chainable header is one that
indicates the encoding, character set (CCSID) and format of the content that follows it in the
message.
-
Method Summary
Modifier and TypeMethodDescriptionformat()intvoidnextCharacterSet(int value) Sets the CCSID of the next header or message content.intvoidnextEncoding(int value) Sets the numeric encoding of the next header or message content.voidnextFormat(String value) Sets the format of the next header or message content.
-
Method Details
-
nextEncoding
int nextEncoding()- Returns:
- the numeric encoding of the next header or message content.
-
nextEncoding
void nextEncoding(int value) Sets the numeric encoding of the next header or message content.- Parameters:
value- numeric encoding
-
nextCharacterSet
int nextCharacterSet()- Returns:
- the CCSID of the next header or message content.
-
nextCharacterSet
void nextCharacterSet(int value) Sets the CCSID of the next header or message content.- Parameters:
value- character set
-
nextFormat
String nextFormat()- Returns:
- the format of the next header or message content.
-
nextFormat
Sets the format of the next header or message content.- Parameters:
value- format of the header or message content
-
format
String format()- Returns:
- the format associated with this header object or message content.
-