Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.wtc.jatmi
Class DequeueReply

java.lang.Object
  extended by weblogic.wtc.jatmi.TuxedoReply
      extended by weblogic.wtc.jatmi.DequeueReply
All Implemented Interfaces:
Serializable, Reply

public final class DequeueReply
extends TuxedoReply

This class holds the reply data and meta-data from a service invocation.

See Also:
ApplicationToMonitorInterface.tpdequeue(java.lang.String, java.lang.String, byte[], byte[], boolean, boolean, int), Serialized Form

Constructor Summary
DequeueReply(TypedBuffer tb, int tpurcode, CallDescriptor cd, byte[] msgid, byte[] corrid, String replyqueue, String failurequeue, Integer appkey, Integer priority, int delivery_qos, int reply_qos, int urcode)
          Constructs a reply return with the given data, tpurcode and server return code.
 
Method Summary
 Integer getappkey()
          Gets the appkey field of this object
 byte[] getcorrid()
          Gets the corrid field of this object
 int getdelivery_qos()
          Gets the delivery_qos field of this object
 String getfailurequeue()
          Gets the failurequeue field of this object
 byte[] getmsgid()
          Gets the msgid field of this object
 Integer getpriority()
          Gets the priority field of this object
 int getreply_qos()
          Gets the reply_qos field of this object
 String getreplyqueue()
          Gets the replyqueue field of this object
 int geturcode()
          Gets the user-defined result code
 String toString()
          Turns this object into a string
 
Methods inherited from class weblogic.wtc.jatmi.TuxedoReply
getCallDescriptor, getReplyBuffer, gettpurcode, setCallDescriptor, setReplyBuffer, settpurcode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DequeueReply

public DequeueReply(TypedBuffer tb,
                    int tpurcode,
                    CallDescriptor cd,
                    byte[] msgid,
                    byte[] corrid,
                    String replyqueue,
                    String failurequeue,
                    Integer appkey,
                    Integer priority,
                    int delivery_qos,
                    int reply_qos,
                    int urcode)
Constructs a reply return with the given data, tpurcode and server return code.

Parameters:
tb - The typed buffer reply data. May be NULL
urcode - The tpurcode returned from the service
sc - The service failure status returned by the service
msgid - The message id of the message dequeued
corrid - The correlation id of the message dequeued
replyqueue - The reply queue associated with this message, or null if not specified
failurequeue - The failure queue associated with this message, or null if not specified
appkey - The appkey of the user who enqueued this message
priority - The priority at which this message was enqueued
delivery_qos - The delivery quality of service or null if not specified
reply_qos - The reply quality of service or null if not specified
urcode - The user defined result code
Method Detail

getappkey

public Integer getappkey()
Gets the appkey field of this object

Returns:
The application key of the user who enqueued this message

getpriority

public Integer getpriority()
Gets the priority field of this object

Returns:
The priority associated with this request, or null if not set

getdelivery_qos

public int getdelivery_qos()
Gets the delivery_qos field of this object

Returns:
The delivery quality of service associated with this request, or null if not set

getreply_qos

public int getreply_qos()
Gets the reply_qos field of this object

Returns:
The reply quality of service associated with this request, or null if not set

getmsgid

public byte[] getmsgid()
Gets the msgid field of this object

Returns:
The msgid before which this message is to be enqueued associated with this request, or null if not set

getcorrid

public byte[] getcorrid()
Gets the corrid field of this object

Returns:
The correlation id associated with this request, or null if not set

getreplyqueue

public String getreplyqueue()
Gets the replyqueue field of this object

Returns:
The reply queue associated with this request, or null if not set

getfailurequeue

public String getfailurequeue()
Gets the failurequeue field of this object

Returns:
The failure queue associated with this request, or null if not set

geturcode

public int geturcode()
Gets the user-defined result code

Returns:
the user-defined result code

toString

public String toString()
Turns this object into a string

Overrides:
toString in class TuxedoReply

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04