public class MQIIH extends com.ibm.mq.headers.internal.Header implements MQChainable
struct tagMQIIH {
MQCHAR4 StrucId; // Structure identifier
MQLONG Version; // Structure version number
MQLONG StrucLength; // Length of MQIIH structure
MQLONG Encoding; // Reserved
MQLONG CodedCharSetId; // Reserved
MQCHAR8 Format; // MQ format name of data that follows MQIIH
MQLONG Flags; // Flags
MQCHAR8 LTermOverride; // Logical terminal override
MQCHAR8 MFSMapName; // Message format services map name
MQCHAR8 ReplyToFormat; // MQ format name of reply message
MQCHAR8 Authenticator; // RACF password or passticket
MQBYTE16 TranInstanceId; // Transaction instance identifier
MQCHAR TranState; // Transaction state
MQCHAR CommitMode; // Commit mode
MQCHAR SecurityScope; // Security scope
MQCHAR Reserved; // Reserved
};
MQHeader.Field| Constructor and Description |
|---|
MQIIH()
Constructs an MQIIH instance with default field values.
|
MQIIH(java.io.DataInput message)
Constructs an MQIIH instance populated from an MQMessage.
|
MQIIH(java.io.DataInput message,
int encoding,
int characterSet)
Constructs an MQIIH instance populated from a DataInput source.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format() |
java.lang.String |
getAuthenticator()
gets the RACF password or passticket
|
int |
getCodedCharSetId()
Get the Character set identifier of data that follows.
|
char |
getCommitMode()
gets the Commit mode
|
int |
getEncoding()
Get the numeric encoding of the data that follows.
|
int |
getFlags()
gets the Flags
|
java.lang.String |
getFormat()
gets the MQ format name of data that follows MQIIH
|
java.lang.String |
getLTermOverride()
gets the Logical terminal override
|
java.lang.String |
getMFSMapName()
gets the Message format services map name
|
java.lang.String |
getReplyToFormat()
gets the MQ format name of reply message
|
char |
getSecurityScope()
gets the Security scope
|
java.lang.String |
getStrucId()
Get the structure identifier; the value will be MQIIH_STRUC_ID
|
int |
getStrucLength()
Get the length of the structure.
|
byte[] |
getTranInstanceId()
gets the Transaction instance identifier
|
char |
getTranState()
gets the Transaction state
|
int |
getVersion()
Get the Structure version number
|
int |
nextCharacterSet() |
void |
nextCharacterSet(int value)
Sets the CCSID of the next header or message content.
|
int |
nextEncoding() |
void |
nextEncoding(int value)
Sets the numeric encoding of the next header or message content.
|
java.lang.String |
nextFormat() |
void |
nextFormat(java.lang.String value)
Sets the format of the next header or message content.
|
void |
setAuthenticator(java.lang.String value)
sets the RACF password or passticket
|
void |
setCodedCharSetId(int value)
Set the Character set identifier of data that follows.
|
void |
setCommitMode(char value)
sets the Commit mode
|
void |
setEncoding(int value)
Set the numeric encoding of the data that follows.
|
void |
setFlags(int value)
sets the Flags
|
void |
setFormat(java.lang.String value)
sets the MQ format name of data that follows MQIIH
|
void |
setLTermOverride(java.lang.String value)
sets the Logical terminal override
|
void |
setMFSMapName(java.lang.String value)
sets the Message format services map name
|
void |
setReplyToFormat(java.lang.String value)
sets the MQ format name of reply message
|
void |
setSecurityScope(char value)
sets the Security scope
|
void |
setTranInstanceId(byte[] value)
sets the Transaction instance identifier
|
void |
setTranState(char value)
sets the Transaction state
|
characterSet, encoding, fields, getBytesValue, getCharValue, getCharValue, getIntValue, getJmqiEnv, getStringValue, getValue, headerType, read, read, read, setBytesValue, setCharValue, setCharValue, setIntValue, setStringValue, setValue, size, store, store, toString, type, validate, write, writepublic MQIIH()
public MQIIH(java.io.DataInput message)
throws MQDataException,
java.io.IOException
message - the message to readMQDataException - if the message content does not yield a valid MQIIH stucturejava.io.IOException - if there is a problem reading the message contentpublic MQIIH(java.io.DataInput message,
int encoding,
int characterSet)
throws MQDataException,
java.io.IOException
message - the MQMessage or other DataInput source to readencoding - the initial numeric encoding of the data in the messagecharacterSet - the initial CCSID of the data in the messageMQDataException - if the message content does not yield a valid MQIIH stucturejava.io.IOException - if there is a problem reading the message contentpublic java.lang.String getStrucId()
public int getVersion()
public int getStrucLength()
public int getEncoding()
public void setEncoding(int value)
value - the numeric encoding. A combination of MQENC_* values.public int getCodedCharSetId()
public void setCodedCharSetId(int value)
value - the Character set identifier.public java.lang.String getFormat()
public void setFormat(java.lang.String value)
value - the MQ format name of data that follows MQIIHpublic int getFlags()
public void setFlags(int value)
value - the Flagspublic java.lang.String getLTermOverride()
public void setLTermOverride(java.lang.String value)
value - the Logical terminal overridepublic java.lang.String getMFSMapName()
public void setMFSMapName(java.lang.String value)
value - the Message format services map namepublic java.lang.String getReplyToFormat()
public void setReplyToFormat(java.lang.String value)
value - the MQ format name of reply messagepublic java.lang.String getAuthenticator()
public void setAuthenticator(java.lang.String value)
value - the RACF password or passticketpublic byte[] getTranInstanceId()
public void setTranInstanceId(byte[] value)
value - the Transaction instance identifierpublic char getTranState()
public void setTranState(char value)
value - the Transaction statepublic char getCommitMode()
public void setCommitMode(char value)
value - the Commit modepublic char getSecurityScope()
public void setSecurityScope(char value)
value - the Security scopepublic int nextEncoding()
nextEncoding in interface MQChainableMQChainable.nextEncoding()public void nextEncoding(int value)
MQChainablenextEncoding in interface MQChainableMQChainable.nextEncoding(int)public int nextCharacterSet()
nextCharacterSet in interface MQChainableMQChainable.nextCharacterSet()public void nextCharacterSet(int value)
MQChainablenextCharacterSet in interface MQChainableMQChainable.nextCharacterSet(int)public java.lang.String nextFormat()
nextFormat in interface MQChainableMQChainable.nextFormat()public void nextFormat(java.lang.String value)
MQChainablenextFormat in interface MQChainableMQChainable.nextFormat(java.lang.String)public java.lang.String format()
format in interface MQChainableMQChainable.format()