public final class TdomTcb extends tcb
Modifier and Type | Field and Description |
---|---|
static int |
CHLG_LEN |
private int |
convid |
static int |
DIAG_KEEPALIVE_RPLY |
static int |
DIAG_KEEPALIVE_RQST |
private int |
diagnostic |
static int |
DMSEC_APP_PW |
static int |
DMSEC_CLEAR |
static int |
DMSEC_DM_PW |
static int |
DMSEC_FAILED |
static int |
DMSEC_NONE |
static int |
DMSEC_PRIVATE |
static int |
DMSEC_SAFE |
static int |
DMSEC_UNKNOWN |
static int |
DMSEC_USER_PW |
private int |
dom_protocol |
private int |
errdetail |
private int |
features |
private int |
flag |
static int |
GW_CONVCONNECTED |
static int |
GW_CONVINIT |
static int |
GW_CONVRESP |
static int |
GW_HEURISTIC_HAZARD |
static int |
GW_HEURISTIC_MIX |
static int |
GW_NONEWBRANCH |
static int |
GW_NULLIDX |
static int |
GW_ROLLBACKFROMSUBORDINATE |
static int |
GWNW_XATMI_CALL |
private static java.lang.String |
GWNW_XATMI_CALL_STRING |
static int |
GWNW_XATMI_COMMIT |
private static java.lang.String |
GWNW_XATMI_COMMIT_STRING |
static int |
GWNW_XATMI_COMPLETE |
private static java.lang.String |
GWNW_XATMI_COMPLETE_STRING |
static int |
GWNW_XATMI_CONNECT |
private static java.lang.String |
GWNW_XATMI_CONNECT_STRING |
static int |
GWNW_XATMI_DATA |
private static java.lang.String |
GWNW_XATMI_DATA_STRING |
static int |
GWNW_XATMI_DISCON |
private static java.lang.String |
GWNW_XATMI_DISCON_STRING |
static int |
GWNW_XATMI_DMQUERY |
private static java.lang.String |
GWNW_XATMI_DMQUERY_STRING |
static int |
GWNW_XATMI_DONE |
private static java.lang.String |
GWNW_XATMI_DONE_STRING |
static int |
GWNW_XATMI_FAILURE |
private static java.lang.String |
GWNW_XATMI_FAILURE_STRING |
static int |
GWNW_XATMI_HEURISTIC |
private static java.lang.String |
GWNW_XATMI_HEURISTIC_STRING |
private static java.lang.String |
GWNW_XATMI_NONE_STRING |
static int |
GWNW_XATMI_PRE_NW_ACALL1 |
static int |
GWNW_XATMI_PRE_NW_ACALL1_RPLY |
private static java.lang.String |
GWNW_XATMI_PRE_NW_ACALL1_RPLY_STRING |
private static java.lang.String |
GWNW_XATMI_PRE_NW_ACALL1_STRING |
static int |
GWNW_XATMI_PRE_NW_ACALL2 |
static int |
GWNW_XATMI_PRE_NW_ACALL2_RPLY |
private static java.lang.String |
GWNW_XATMI_PRE_NW_ACALL2_RPLY_STRING |
private static java.lang.String |
GWNW_XATMI_PRE_NW_ACALL2_STRING |
static int |
GWNW_XATMI_PRE_NW_ACALL3 |
static int |
GWNW_XATMI_PRE_NW_ACALL3_RPLY |
private static java.lang.String |
GWNW_XATMI_PRE_NW_ACALL3_RPLY_STRING |
private static java.lang.String |
GWNW_XATMI_PRE_NW_ACALL3_STRING |
static int |
GWNW_XATMI_PRE_NW_LLE |
static int |
GWNW_XATMI_PRE_NW_LLE_RPLY |
private static java.lang.String |
GWNW_XATMI_PRE_NW_LLE_RPLY_STRING |
private static java.lang.String |
GWNW_XATMI_PRE_NW_LLE_STRING |
static int |
GWNW_XATMI_PREPARE |
private static java.lang.String |
GWNW_XATMI_PREPARE_STRING |
static int |
GWNW_XATMI_RDONLY |
private static java.lang.String |
GWNW_XATMI_RDONLY_STRING |
static int |
GWNW_XATMI_READY |
private static java.lang.String |
GWNW_XATMI_READY_STRING |
static int |
GWNW_XATMI_REPLY |
private static java.lang.String |
GWNW_XATMI_REPLY_STRING |
static int |
GWNW_XATMI_ROLLBACK |
private static java.lang.String |
GWNW_XATMI_ROLLBACK_STRING |
static int |
GWNW_XATMI_SEC_EXCHG |
static int |
GWNW_XATMI_SEC_EXCHG_RQST |
private static java.lang.String |
GWNW_XATMI_SEC_EXCHG_STRING |
static int |
GWT_FEATURE_APPKEEPALIVE |
static int |
GWT_FEATURE_MBSTRING |
static int |
GWT_FEATURE_SNP_SA_3DES |
static int |
GWT_FEATURE_SUPPORTED |
private static int |
GWT_FEATURE_SUPPORTED_RUNTIME |
static int |
GWT_FEATURE_WTC |
static int |
GWT_FEATURE_XA_1PC |
static int |
GWT_FEATURE_XA_COMMXID |
static int |
GWT_FEATURE_XA_RDONLY |
static int |
GWT_FEATURE_XDR64_COMPAT |
private int |
info |
private int |
lle_flags |
private int |
lle_length |
private int |
msgprio |
private byte[] |
myScratch |
private int |
opcode |
private byte[] |
recv_buf |
private int |
recv_len |
private int |
reqid |
private int |
security_type |
private byte[] |
send_buf |
private int |
send_len |
private java.lang.String |
sending_domain |
private int |
seqnum |
private static long |
serialVersionUID |
private java.lang.String |
service |
private int |
tm_release |
private int |
tpevent |
private int |
tpurcode |
Constructor and Description |
---|
TdomTcb()
Default constructor, sets up the proper index for this TCB
|
TdomTcb(int op,
int req,
int flags,
java.lang.String sv)
This generates a TDOM TCB with the given fields
|
Modifier and Type | Method and Description |
---|---|
int |
_tmpostrecv(java.io.DataInputStream decoder,
int recv_size,
int hint_index) |
void |
_tmpresend(java.io.DataOutputStream encoder,
tch myheader) |
int |
get_convid() |
int |
get_diagnostic() |
int |
get_dom_protocol() |
int |
get_errdetail() |
int |
get_flag() |
int |
get_info() |
int |
get_lle_flags() |
int |
get_msgprio() |
int |
get_opcode() |
int |
get_reqid() |
int |
get_security_type() |
java.lang.String |
get_sending_domain() |
int |
get_seqnum() |
java.lang.String |
get_service() |
int |
get_tm_release() |
int |
get_tpevent() |
byte[] |
getBufRecvSecPDU() |
byte[] |
getBufSendSecPDU() |
int |
getConvId() |
int |
getDomProtocol() |
int |
getFeaturesSupported() |
int |
getLenRecvSecPDU() |
int |
getLenSendSecPDU() |
int |
getLLELength() |
static int |
getRuntimeFeatureSupported() |
java.lang.String |
getSendingDom() |
int |
getTpurcode() |
boolean |
prepareForCache() |
static java.lang.String |
print_opcode(int opc) |
void |
set_convid(int cd) |
void |
set_diagnostic(int te) |
void |
set_dom_protocol(int dp) |
void |
set_errdetail(int ed) |
void |
set_flag(int flags) |
void |
set_info(int f) |
void |
set_lle_flags(int lln) |
void |
set_msgprio(int mp) |
void |
set_opcode(int op) |
void |
set_reqid(int rq) |
void |
set_security_type(int st) |
void |
set_sending_domain(java.lang.String op) |
void |
set_seqnum(int cd) |
void |
set_service(java.lang.String sv) |
void |
set_tm_release(int rn) |
void |
set_tpevent(int te) |
void |
set_tpurcode(int tu) |
void |
setConvId(int cid) |
void |
setFeaturesSupported(int f) |
void |
setLLELength(int len) |
void |
setRecvSecPDU(byte[] buf,
int len) |
static void |
setRuntimeFeatureSupported(int f) |
void |
setSendSecPDU(byte[] buf,
int len) |
java.lang.String |
toString() |
void |
unset_msgprio(int mp) |
private static final long serialVersionUID
private int lle_length
private int send_len
private int recv_len
private byte[] send_buf
private byte[] recv_buf
private int opcode
private int reqid
private int convid
private int seqnum
private int info
private int flag
private int tpevent
private int diagnostic
private int tpurcode
private int errdetail
private java.lang.String service
private int msgprio
private int features
private java.lang.String sending_domain
private int tm_release
private int dom_protocol
private int lle_flags
private int security_type
private transient byte[] myScratch
public static final int GWNW_XATMI_CALL
public static final int GWNW_XATMI_REPLY
public static final int GWNW_XATMI_FAILURE
public static final int GWNW_XATMI_CONNECT
public static final int GWNW_XATMI_DATA
public static final int GWNW_XATMI_DISCON
public static final int GWNW_XATMI_PREPARE
public static final int GWNW_XATMI_READY
public static final int GWNW_XATMI_COMMIT
public static final int GWNW_XATMI_DONE
public static final int GWNW_XATMI_COMPLETE
public static final int GWNW_XATMI_ROLLBACK
public static final int GWNW_XATMI_HEURISTIC
public static final int GWNW_XATMI_PRE_NW_ACALL1
public static final int GWNW_XATMI_PRE_NW_ACALL1_RPLY
public static final int GWNW_XATMI_PRE_NW_ACALL2
public static final int GWNW_XATMI_PRE_NW_ACALL2_RPLY
public static final int GWNW_XATMI_PRE_NW_ACALL3
public static final int GWNW_XATMI_PRE_NW_ACALL3_RPLY
public static final int GWNW_XATMI_PRE_NW_LLE
public static final int GWNW_XATMI_PRE_NW_LLE_RPLY
public static final int GWNW_XATMI_SEC_EXCHG_RQST
public static final int GWNW_XATMI_SEC_EXCHG
public static final int GWNW_XATMI_DMQUERY
public static final int GWNW_XATMI_RDONLY
private static final java.lang.String GWNW_XATMI_NONE_STRING
private static final java.lang.String GWNW_XATMI_CALL_STRING
private static final java.lang.String GWNW_XATMI_REPLY_STRING
private static final java.lang.String GWNW_XATMI_FAILURE_STRING
private static final java.lang.String GWNW_XATMI_CONNECT_STRING
private static final java.lang.String GWNW_XATMI_DATA_STRING
private static final java.lang.String GWNW_XATMI_DISCON_STRING
private static final java.lang.String GWNW_XATMI_PREPARE_STRING
private static final java.lang.String GWNW_XATMI_READY_STRING
private static final java.lang.String GWNW_XATMI_COMMIT_STRING
private static final java.lang.String GWNW_XATMI_DONE_STRING
private static final java.lang.String GWNW_XATMI_COMPLETE_STRING
private static final java.lang.String GWNW_XATMI_ROLLBACK_STRING
private static final java.lang.String GWNW_XATMI_HEURISTIC_STRING
private static final java.lang.String GWNW_XATMI_PRE_NW_ACALL1_STRING
private static final java.lang.String GWNW_XATMI_PRE_NW_ACALL1_RPLY_STRING
private static final java.lang.String GWNW_XATMI_PRE_NW_ACALL2_STRING
private static final java.lang.String GWNW_XATMI_PRE_NW_ACALL2_RPLY_STRING
private static final java.lang.String GWNW_XATMI_PRE_NW_ACALL3_STRING
private static final java.lang.String GWNW_XATMI_PRE_NW_ACALL3_RPLY_STRING
private static final java.lang.String GWNW_XATMI_PRE_NW_LLE_STRING
private static final java.lang.String GWNW_XATMI_PRE_NW_LLE_RPLY_STRING
private static final java.lang.String GWNW_XATMI_SEC_EXCHG_STRING
private static final java.lang.String GWNW_XATMI_DMQUERY_STRING
private static final java.lang.String GWNW_XATMI_RDONLY_STRING
public static final int GW_NULLIDX
public static final int DMSEC_NONE
public static final int DMSEC_APP_PW
public static final int DMSEC_DM_PW
public static final int DMSEC_USER_PW
public static final int DMSEC_CLEAR
public static final int DMSEC_SAFE
public static final int DMSEC_PRIVATE
public static final int DMSEC_UNKNOWN
public static final int DMSEC_FAILED
public static final int DIAG_KEEPALIVE_RQST
public static final int DIAG_KEEPALIVE_RPLY
public static final int CHLG_LEN
public static final int GW_CONVINIT
public static final int GW_CONVRESP
public static final int GW_CONVCONNECTED
public static final int GW_HEURISTIC_MIX
public static final int GW_HEURISTIC_HAZARD
public static final int GW_NONEWBRANCH
public static final int GW_ROLLBACKFROMSUBORDINATE
public static final int GWT_FEATURE_SUPPORTED
public static final int GWT_FEATURE_APPKEEPALIVE
public static final int GWT_FEATURE_MBSTRING
public static final int GWT_FEATURE_SNP_SA_3DES
public static final int GWT_FEATURE_XA_1PC
public static final int GWT_FEATURE_XA_RDONLY
public static final int GWT_FEATURE_XDR64_COMPAT
public static final int GWT_FEATURE_XA_COMMXID
public static final int GWT_FEATURE_WTC
private static int GWT_FEATURE_SUPPORTED_RUNTIME
public TdomTcb()
public TdomTcb(int op, int req, int flags, java.lang.String sv)
op
- The operation to perform (GWNW_XATMI_REPLY, for example)req
- A request idflags
- The flags needed (need list of flags)sv
- The service to callpublic static void setRuntimeFeatureSupported(int f)
public static int getRuntimeFeatureSupported()
public int getConvId()
public void setConvId(int cid)
public int get_opcode()
public void set_opcode(int op)
op
- The opcode of this message (for example GWNW_XATMI_CALL)public void set_msgprio(int mp)
op
- The message priority of this message (integer from 1 to 100)public void unset_msgprio(int mp)
op
- The message priority of the next message (integer from 1 to 100)public int get_msgprio()
public java.lang.String get_sending_domain()
public java.lang.String getSendingDom()
public void set_sending_domain(java.lang.String op)
op
- The sending domain of this messagepublic int get_info()
public void set_info(int f)
op
- The info of this messagepublic int get_convid()
public void set_convid(int cd)
op
- The conversational id of this messagepublic int get_seqnum()
public void set_seqnum(int cd)
op
- The sequence number of this messagepublic int get_reqid()
public void set_reqid(int rq)
rq
- The request id of this messagepublic int get_flag()
public void set_flag(int flags)
flags
- The flags of this message (need list)public int get_tpevent()
public void set_tpevent(int te)
flags
- The tpevent of this message (need list)public int get_errdetail()
public void set_errdetail(int ed)
ed
- The tperrordetail to be associated with this messagepublic java.lang.String get_service()
public void set_service(java.lang.String sv)
sv
- The service to be associated with this messagepublic int getTpurcode()
public void set_tpurcode(int tu)
tu
- The tpurcode to be associated with this messagepublic int get_diagnostic()
public void set_diagnostic(int te)
te
- The TPException to be associated with this messagepublic int get_tm_release()
public void set_tm_release(int rn)
rn
- The release of the remote TUXEDO domainpublic int get_dom_protocol()
public void set_dom_protocol(int dp)
dp
- The domain protocol number the remote domain speakspublic int get_lle_flags()
public void set_lle_flags(int lln)
lln
- Link level negotiation flagspublic void setSendSecPDU(byte[] buf, int len)
buf
- A byte array contains the security exchange informationlen
- Length of data from the buffer should be send.public int getLenSendSecPDU()
public byte[] getBufSendSecPDU()
public void setRecvSecPDU(byte[] buf, int len)
buf
- A byte array to store the datalen
- Length of the byte arraypublic int getLenRecvSecPDU()
public byte[] getBufRecvSecPDU()
public int get_security_type()
public void set_security_type(int st)
st
- security type (e.g., DMSEC_NONE)public void setLLELength(int len)
len
- length of LLE datapublic int getLLELength()
public int getDomProtocol()
public void setFeaturesSupported(int f)
public int getFeaturesSupported()
public boolean prepareForCache()
prepareForCache
in class tcb
public void _tmpresend(java.io.DataOutputStream encoder, tch myheader) throws TPException, java.io.IOException
_tmpresend
in class tcb
encoder
- The stream object to use to encode this TCBTPException
- If there was a Tuxedo error while encodingjava.io.IOException
- if there was an error using the encoderpublic final int _tmpostrecv(java.io.DataInputStream decoder, int recv_size, int hint_index) throws java.io.IOException
_tmpostrecv
in class tcb
decoder
- The decoding stream to read the bytes fromrecv_size
- The size of the data, not including the TCH headerhint_index
- Not the user TCB, hence not usedjava.io.IOException
- if there is an error reading the input streampublic static java.lang.String print_opcode(int opc)
opc
- The opcode to print