com.ibm.mq.exits
Class MQCXP
- java.lang.Object
-
- com.ibm.mq.jmqi.JmqiObject
-
- com.ibm.mq.jmqi.internal.AbstractMqiStructure
-
- com.ibm.mq.exits.MQCXP
-
- All Implemented Interfaces:
- com.ibm.mq.jmqi.internal.MqiStructure
public class MQCXP extends com.ibm.mq.jmqi.internal.AbstractMqiStructureMQCXP structurestruct tagMQCXP { MQCHAR4 StrucId; MQLONG Version; MQLONG ExitId; MQLONG ExitReason; MQLONG ExitResponse; MQLONG ExitResponse2; MQLONG Feedback; MQLONG MaxSegmentLength; MQBYTE16 ExitUserArea; MQCHAR32 ExitData; MQLONG MsgRetryCount; MQLONG MsgRetryInterval; MQLONG MsgRetryReason; MQLONG HeaderLength; MQCHAR48 PartnerName; MQLONG FAPLevel; MQLONG CapabilityFlags; MQLONG ExitNumber; MQLONG ExitSpace; MQCHAR12 SSLCertUserid; MQLONG SSLRemCertIssNameLength; MQPTR SSLRemCertIssNamePtr; PMQCSP SecurityParms; MQLONG CurHdrCompression; MQLONG CurMsgCompression; MQHCONN Hconn; MQBOOL SharingConversations; MQLONG UserSource; PMQIEP pEntryPoints; MQCHAR4 RemoteProduct; MQCHAR8 RemoteVersion; };
-
-
Constructor Summary
Constructors Constructor and Description MQCXP()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description MQCSPcreateMQCSP()Creates and returns an instance of the MQCSP class.intgetCurrentVersion()intgetExitId()intgetExitReason()intgetExitResponse()intgetExitResponse2()byte[]getExitUserArea()intgetFeedback()intgetFirstVersion()intgetMaxSegmentLength()intgetMsgRetryInterval()intgetMsgRetryReason()intgetRequiredBufferSize(int ptrSize, com.ibm.mq.jmqi.system.JmqiCodepage cp)MQCSPgetSecurityParms()Get any security parametersintgetSize(int ptrSize)The byte size of the structurestatic intgetSize(com.ibm.mq.jmqi.JmqiEnvironment env, int version, int ptrSize)The byte size of the fixed part of the structurestatic intgetSizeV3(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)static intgetSizeV4(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)static intgetSizeV5(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)static intgetSizeV6(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)static intgetSizeV7(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)static intgetSizeV8(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)static intgetSizeV9(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)voidsetExitId(int exitId)voidsetExitReason(int exitReason)voidsetExitResponse(int exitResponse)voidsetExitResponse2(int exitResponse2)voidsetFeedback(int feedback)voidsetMaxSegmentLength(int maxSegmentLength)voidsetMsgRetryCount(int msgRetryCount)voidsetMsgRetryInterval(int msgRetryInterval)voidsetMsgRetryReason(int msgRetryReason)intwriteToBuffer(byte[] buffer, int offset, int ptrSize, boolean swap, com.ibm.mq.jmqi.system.JmqiCodepage cp, com.ibm.mq.jmqi.system.JmqiTls tls)-
Methods inherited from class com.ibm.mq.jmqi.internal.AbstractMqiStructure
getMaximumRequiredBufferSize, getRequiredInputBufferSize, getVersion, readFromBuffer, setupForTest, setVersion, toString, toStringMultiLine, toTraceString, writeToBuffer, writeToTraceBuffer
-
-
-
-
Method Detail
-
createMQCSP
public MQCSP createMQCSP()
Creates and returns an instance of the MQCSP class. This instance can be used set the user credentials and authentication type. Once the parameters are set, ensure that the method #setSecurityParms() is used to pass the MQCSP object.- Returns:
- A new instance of MQCSP
-
getFirstVersion
public int getFirstVersion()
- Specified by:
getFirstVersionin interfacecom.ibm.mq.jmqi.internal.MqiStructure- Overrides:
getFirstVersionin classcom.ibm.mq.jmqi.internal.AbstractMqiStructure- Returns:
- the first version
-
getCurrentVersion
public int getCurrentVersion()
- Specified by:
getCurrentVersionin interfacecom.ibm.mq.jmqi.internal.MqiStructure- Overrides:
getCurrentVersionin classcom.ibm.mq.jmqi.internal.AbstractMqiStructure- Returns:
- the current version
-
getSizeV3
public static int getSizeV3(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)- Parameters:
env-ptrSize-- Returns:
- The size of the Version 3 fields, including the end-of-structure alignment
-
getSizeV4
public static int getSizeV4(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)- Parameters:
env-ptrSize-- Returns:
- The size of the Version 4 fields, including the end-of-structure alignment
-
getSizeV5
public static int getSizeV5(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)- Parameters:
env-ptrSize-- Returns:
- The size of the Version 5 fields, including the end-of-structure alignment
-
getSizeV6
public static int getSizeV6(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)- Parameters:
env-ptrSize-- Returns:
- The size of the Version 6 fields, including the end-of-structure alignment
-
getSizeV7
public static int getSizeV7(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)- Parameters:
env-ptrSize-- Returns:
- The size of the Version 7 fields, including the end-of-structure alignment
-
getSizeV8
public static int getSizeV8(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)- Parameters:
env-ptrSize-- Returns:
- The size of the Version 8 fields, including the end-of-structure alignment
-
getSizeV9
public static int getSizeV9(com.ibm.mq.jmqi.JmqiEnvironment env, int ptrSize)- Parameters:
env-ptrSize-- Returns:
- The size of the Version 9 fields, including the end-of-structure alignment
-
getSize
public int getSize(int ptrSize) throws JmqiExceptionThe byte size of the structure- Specified by:
getSizein interfacecom.ibm.mq.jmqi.internal.MqiStructure- Overrides:
getSizein classcom.ibm.mq.jmqi.internal.AbstractMqiStructure- Parameters:
ptrSize-- Returns:
- The byte size of the structure
- Throws:
JmqiException
-
getSize
public static int getSize(com.ibm.mq.jmqi.JmqiEnvironment env, int version, int ptrSize) throws JmqiExceptionThe byte size of the fixed part of the structure- Parameters:
env-version-ptrSize-- Returns:
- The byte size of the structure in the specified environment
- Throws:
JmqiException
-
getExitReason
public int getExitReason()
- Returns:
- exitReason
-
setExitReason
public void setExitReason(int exitReason)
- Parameters:
exitReason-
-
getExitResponse
public int getExitResponse()
- Returns:
- exitResponse
-
setExitResponse
public void setExitResponse(int exitResponse)
- Parameters:
exitResponse-
-
getExitResponse2
public int getExitResponse2()
- Returns:
- exitResponse2
-
setExitResponse2
public void setExitResponse2(int exitResponse2)
- Parameters:
exitResponse2-
-
getExitUserArea
public byte[] getExitUserArea()
- Returns:
- exitUserArea
-
getFeedback
public int getFeedback()
- Returns:
- feedback
-
setFeedback
public void setFeedback(int feedback)
- Parameters:
feedback-
-
getSecurityParms
public MQCSP getSecurityParms()
Get any security parameters- Returns:
- Returns the mqCSP.
-
setMsgRetryCount
public void setMsgRetryCount(int msgRetryCount)
- Parameters:
msgRetryCount-
-
getMsgRetryInterval
public int getMsgRetryInterval()
- Returns:
- msgRetryInterval
-
setMsgRetryInterval
public void setMsgRetryInterval(int msgRetryInterval)
- Parameters:
msgRetryInterval-
-
getMsgRetryReason
public int getMsgRetryReason()
- Returns:
- msgRetryReason
-
setMsgRetryReason
public void setMsgRetryReason(int msgRetryReason)
- Parameters:
msgRetryReason-
-
getMaxSegmentLength
public int getMaxSegmentLength()
- Returns:
- maxSegmentLength
-
setMaxSegmentLength
public void setMaxSegmentLength(int maxSegmentLength)
- Parameters:
maxSegmentLength-
-
getExitId
public int getExitId()
- Returns:
- exitId
-
setExitId
public void setExitId(int exitId)
- Parameters:
exitId-
-
getRequiredBufferSize
public int getRequiredBufferSize(int ptrSize, com.ibm.mq.jmqi.system.JmqiCodepage cp) throws JmqiException- Parameters:
ptrSize-cp-- Returns:
- required buffer size
- Throws:
JmqiException
-
writeToBuffer
public int writeToBuffer(byte[] buffer, int offset, int ptrSize, boolean swap, com.ibm.mq.jmqi.system.JmqiCodepage cp, com.ibm.mq.jmqi.system.JmqiTls tls) throws JmqiException- Throws:
JmqiException- See Also:
MqiStructure.writeToBuffer(byte[], int, int, boolean, JmqiCodepage, JmqiTls)
-
-