|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mq.MQQueueManager.MQExitWrapper
Field Summary |
Constructor Summary | |
MQQueueManager.MQExitWrapper(MQReceiveExit exitObject)
|
|
MQQueueManager.MQExitWrapper(MQSecurityExit exitObject)
|
|
MQQueueManager.MQExitWrapper(MQSendExit exitObject)
|
Method Summary | |
byte[] |
callExit(MQChannelExit channelExitParms,
MQChannelDefinition channelDefinition,
byte[] agentBuffer)
The first parameter is the exit object that would have been called directly. |
byte[] |
receiveExit(MQChannelExit channelExitParms,
MQChannelDefinition channelDefinition,
byte[] agentBuffer)
The receive exit method that your class must provide. |
byte[] |
securityExit(MQChannelExit channelExitParms,
MQChannelDefinition channelDefinition,
byte[] agentBuffer)
The security exit method that your class must provide. |
byte[] |
sendExit(MQChannelExit channelExitParms,
MQChannelDefinition channelDefinition,
byte[] agentBuffer)
The send exit method that your class must provide. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MQQueueManager.MQExitWrapper(MQSendExit exitObject)
public MQQueueManager.MQExitWrapper(MQReceiveExit exitObject)
public MQQueueManager.MQExitWrapper(MQSecurityExit exitObject)
Method Detail |
public byte[] receiveExit(MQChannelExit channelExitParms, MQChannelDefinition channelDefinition, byte[] agentBuffer)
MQReceiveExit
receiveExit
in interface MQReceiveExit
channelExitParms
- contains information about the context in
which the exit is being invoked.
channelExitParms.exitResponse
is a parameter which you use to tell the WebSphere
MQ Client for Java what action to take next.channelDefinition
- contains details of the channel through which
all communications with the queue manager take place.agentBuffer
- contains the data received from the queue manager if
channelExitParms.exitReason
is
MQChannelExit.MQXR_XMIT.
Otherwise agentBuffer is null.
return agentBuffer;
MQChannelExit
,
MQChannelDefinition
public byte[] sendExit(MQChannelExit channelExitParms, MQChannelDefinition channelDefinition, byte[] agentBuffer)
MQSendExit
sendExit
in interface MQSendExit
channelExitParms
- contains information about the context in
which the exit is being invoked.
channelExitParms.exitResponse
is a parameter which you use to tell the WebSphere
MQ Client for Java what action to take next.channelDefinition
- contains details of the channel through which
all communications with the queue manager take place.agentBuffer
- contains the data received from the queue manager if
channelExitParms.exitReason
is
MQChannelExit.MQXR_XMIT.
Otherwise agentBuffer is null.
return agentBuffer;
MQChannelExit
,
MQChannelDefinition
public byte[] securityExit(MQChannelExit channelExitParms, MQChannelDefinition channelDefinition, byte[] agentBuffer)
MQSecurityExit
securityExit
in interface MQSecurityExit
channelExitParms
- contains information about the context in
which the exit is being invoked.
channelExitParms.exitResponse
is a parameter which you use to tell the WebSphere
MQ Client for Java what action to take next.channelDefinition
- Contains details of the channel through which
all communications with the queue manager take place.agentBuffer
- if channelExitParms.exitReason
is
MQChannelExit.MQXR_SEC_MSG, then agentBuffer contains the security message
received from the queue manager, otherwise agentBuffer is null.
MQChannelExit
,
MQChannelDefinition
public byte[] callExit(MQChannelExit channelExitParms, MQChannelDefinition channelDefinition, byte[] agentBuffer)
channelExitParms
- ChannelExitParams to pass through
|
(c) Copyright IBM Corp. 2005. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |