public class TuxAppContext extends java.lang.Object implements TuxApplicationToMonitorInterface, TuxATMIConstants
EB_TA_CLIENTID_MAXLEN, EB_TA_COMMAND_MAXLEN, EB_TA_EVENT_EXPR_MAXLEN, EB_TA_EVENT_FILTER_BINARY_MAXLEN, EB_TA_EVENT_FILTER_MAXLEN, EB_TA_EVENTNAME_MAXLEN, EB_TA_QNAME_MAXLEN, EB_TA_QSPACE_MAXLEN, EB_TA_USERLOG_MAXLEN, FCONCAT, FJOIN, FOJOIN, FUPDATE, MAXBLKTIME, MAXTIDENT, RESERVED_BIT1, RESERVED_BIT3, RESERVED_BIT4, RESERVED_BIT5, TM_PRIORANGE, TMSTYPELEN, TMTYPELEN, TP_CMT_COMPLETE, TP_CMT_LOGGED, TPABSOLUTE, TPACK, TPACK_INTL, TPADVADMINSVC, TPBLK__MASK, TPBLK_ALL, TPBLK_MICROSECOND, TPBLK_MILLISECOND, TPBLK_NEXT, TPBLK_SECOND, TPCONV, TPCONVMAXSTR, TPEVPERSIST, TPEVQUEUE, TPEVRESERVED1, TPEVRESERVED2, TPEVRESERVED3, TPEVSERVICE, TPEVTRAN, TPEXIT, TPFAIL, TPGETANY, TPMULTICONTEXTS, TPNOBLOCK, TPNOCHANGE, TPNOCOPY, TPNOFLAGS, TPNOREPLY, TPNOTIME, TPNOTRAN, TPQBEFOREMSGID, TPQCORRID, TPQDELIVERYQOS, TPQEXPTIME_ABS, TPQEXPTIME_NONE, TPQEXPTIME_REL, TPQFAILUREQ, TPQGETBYCORRID, TPQGETBYCORRIDOLD, TPQGETBYMSGID, TPQGETBYMSGIDOLD, TPQMSGID, TPQPEEK, TPQPRIORITY, TPQQOSDEFAULTPERSIST, TPQQOSNONPERSISTENT, TPQQOSPERSISTENT, TPQREPLYQ, TPQREPLYQOS, TPQTIME_ABS, TPQTIME_REL, TPQTOP, TPQWAIT, TPRECVONLY, TPSA_FASTPATH, TPSA_PROTECTED, TPSENDONLY, TPSIGRSTRT, TPSUCCESS, TPTRAN, TPU_DIP, TPU_IGN, TPU_MASK, TPU_SIG, TPU_THREAD, TPXMLALLOWEMPTY, TPXPARSALWAYS, TPXPARSCACHERESET, TPXPARSCACHESET, TPXPARSCONFATAL, TPXPARSDOSCH, TPXPARSEREFN, TPXPARSNEVER, TPXPARSNOEXIT, TPXPARSNOINCWS, TPXPARSNSPACE, TPXPARSSCHFULL, TPXPARSSTDURI, TPXPARSUSECACHEDGRAM, XATMI_SERVICE_NAME_LENGTH
Modifier and Type | Method and Description |
---|---|
weblogic.wtc.jatmi.FldTbl[] |
getAppCtxtFML16FldTbls() |
weblogic.wtc.jatmi.FldTbl[] |
getAppCtxtFML32FldTbls() |
java.sql.Connection |
getConnection()
Gets JDBC connection for the configured data source.
|
java.lang.String |
getJavaConfigProperty(java.lang.String key) |
java.lang.String |
getProperty(java.lang.String key) |
java.lang.String |
getServerModuleName() |
java.lang.String |
getServerModuleProperty(java.lang.String key)
Application can call TuxAppContext.getServerModuleProperty(key) to
retrieve a value associated to the passed key argument parameter
from the KV pair' set.
|
java.lang.String |
getTuxConfigProperty(java.lang.String key)
Application can call TuxAppContext.getTuxConfigProperty(key) to
retrieve a value associated to the passed key argument parameter
from the KV pairs' set specified in
|
java.lang.String |
toString() |
int |
tpabort(long flags)
The implementation of tpabort of TuxApplicationToMonitorInterface
|
int |
tpacall(java.lang.String svc,
weblogic.wtc.jatmi.TypedBuffer idata,
long flags)
The implementation of tpacall of TuxApplicationToMonitorInterface.
|
int |
tpadvertise(java.lang.String svcname,
java.lang.String clsname,
java.lang.String methodnm,
long flags)
The implementation of tpadvertise of TuxApplicationToMonitorInterface.
|
int |
tpbegin(long trntime,
long flags)
The implementation of tpbegin of TuxApplicationToMonitorInterface
|
int |
tpbroadcast(java.lang.String lmid,
java.lang.String usrname,
java.lang.String cltname,
weblogic.wtc.jatmi.TypedBuffer data,
long flags)
The implementation of tpbroadcast of TuxApplicationToMonitorInterface.
|
TuxATMIReply |
tpcall(java.lang.String svc,
weblogic.wtc.jatmi.TypedBuffer idata,
long flags)
The implementation of tpcall of TuxApplicationToMonitorInterface.
|
int |
tpcancel(int cd)
The implementation of tpcancel of TuxApplicationToMonitorInterface.
|
int |
tpcommit(long flags)
The implementation of tpcommit of TuxApplicationToMonitorInterface
|
TuxATMIReply |
tpdequeue(java.lang.String qspace,
java.lang.String qname,
TPQCTL ctl,
long flags)
The implementation of tpdequeue of TuxApplicationToMonitorInterface.
|
int |
tpenqueue(java.lang.String qspace,
java.lang.String qname,
TPQCTL ctl,
weblogic.wtc.jatmi.TypedBuffer data,
long flags)
The implementation of tpenqueue of TuxApplicationToMonitorInterface.
|
weblogic.wtc.jatmi.TypedXML |
tpfml32toxml(weblogic.wtc.jatmi.TypedFML32 fmldata,
java.lang.String vfile,
java.lang.String rtag,
long flags)
The implementation of tpfml32toxml of TuxApplicationToMonitorInterface.
|
weblogic.wtc.jatmi.TypedXML |
tpfmltoxml(weblogic.wtc.jatmi.TypedFML fmldata,
java.lang.String vfile,
java.lang.String rtag,
long flags)
The implementation of tpfmltoxml of TuxApplicationToMonitorInterface.
|
void |
tpforward(java.lang.String svcname,
weblogic.wtc.jatmi.TypedBuffer data,
long flags)
The implementation of tpforward of TuxApplicationToMonitorInterface.
|
int |
tpgblktime(long flags)
The implementation of tpgblktime of TuxApplicationToMonitorInterface.
|
int |
tpgetlev()
The implementation of tpgetlev of TuxApplicationToMonitorInterface
|
TuxATMIReply |
tpgetrply(int cd,
long flags)
The implementation of tpgetrply of TuxApplicationToMonitorInterface.
|
int |
tpgprio()
The implementation of tpgprio of TuxApplicationToMonitorInterface.
|
int |
tpnotify(CLIENTID cltid,
weblogic.wtc.jatmi.TypedBuffer data,
long flags)
The implementation of tpnotify of TuxApplicationToMonitorInterface.
|
int |
tppost(java.lang.String eventname,
weblogic.wtc.jatmi.TypedBuffer data,
long flags)
The implementation of tppost of TuxApplicationToMonitorInterface.
|
int |
tpregadmcmd(java.lang.String command,
java.lang.String clsname,
java.lang.String methodnm,
long flags) |
int |
tpresume(TPTRANID trnId,
long flags)
The implementation of tpresume of TuxApplicationToMonitorInterface.
|
void |
tpreturn(int rval,
long rcode,
weblogic.wtc.jatmi.TypedBuffer rdata,
long flags)
The implementation of tpreturn of TuxApplicationToMonitorInterface.
|
int |
tpsblktime(int blktime,
long flags)
The implementation of tpsblktime of TuxApplicationToMonitorInterface.
|
int |
tpscmt(long flags)
The implementation of tpscmt of TuxApplicationToMonitorInterface.
|
int |
tpsprio(int prio,
long flags)
The implementation of tpsprio of TuxApplicationToMonitorInterface.
|
long |
tpsubscribe(java.lang.String eventexpr,
java.lang.String filter,
TPEVCTL ctl,
long flags)
The implementation of tpsubscribe of TuxApplicationToMonitorInterface.
|
TPTRANID |
tpsuspend(long flags)
The implementation of tpsuspend of TuxApplicationToMonitorInterface.
|
int |
tpunadvertise(java.lang.String svcname,
long flags)
The implementation of tpunadvertise of TuxApplicationToMonitorInterface.
|
int |
tpunregadmcmd(java.lang.String command,
long flags) |
int |
tpunsubscribe(long subscription,
long flags)
The implementation of tpunsubscribe of TuxApplicationToMonitorInterface.
|
long |
tpurcode()
tpurcode can be used to retrieve the user code associated with current
context.
|
weblogic.wtc.jatmi.TypedFML |
tpxmltofml(weblogic.wtc.jatmi.TypedXML xmldata,
java.lang.String vfile,
java.lang.String rtag,
long flags)
The implementation of tpxmltofml of TuxApplicationToMonitorInterface.
|
weblogic.wtc.jatmi.TypedFML32 |
tpxmltofml32(weblogic.wtc.jatmi.TypedXML xmldata,
java.lang.String vfile,
java.lang.String rtag,
long flags)
The implementation of tpxmltofml32 of TuxApplicationToMonitorInterface.
|
void |
userlog(java.lang.String format,
java.lang.Object... args)
userlog() accepts a printf(3S) style format specification,
with a fixed output file - the Oracle Tuxedo ATMI system central event log. |
public java.lang.String toString()
toString
in class java.lang.Object
public weblogic.wtc.jatmi.FldTbl[] getAppCtxtFML16FldTbls()
public weblogic.wtc.jatmi.FldTbl[] getAppCtxtFML32FldTbls()
public java.lang.String getJavaConfigProperty(java.lang.String key)
public java.lang.String getTuxConfigProperty(java.lang.String key)
public java.lang.String getServerModuleProperty(java.lang.String key)
public java.lang.String getProperty(java.lang.String key)
public java.lang.String getServerModuleName()
public java.sql.Connection getConnection() throws TuxATMIRMException
TuxATMIRMException
- Upon failure getConnection
sets
tperrno in TuxATMITPException to one of the following values. public TuxATMIReply tpcall(java.lang.String svc, weblogic.wtc.jatmi.TypedBuffer idata, long flags) throws TuxATMITPException, TuxATMITPReplyException
tpcall
in interface TuxApplicationToMonitorInterface
svc
- same as the TuxApplicationToMonitorInterface interfaceidata
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException,
- TuxATMITPReplyExceptionTuxATMITPException
- Upon failure tpcall
sets tperrno in
TuxATMITPException to one of the following values. Unless otherwise noted,
failure does not affect the caller's transaction, if one exists.svc
is null or flags are invalid.
svc
because it does not exist,
it is a conversational service, or the name provided begins with "." - a dot.
svc
accepts.
svc
belongs to a server that does not support
transactions and TPNOTRAN was not set.
tpacall
with TPNOTRAN, TPNOBLOCK, and TPNOREPLY set.
TPSIGRSTRT
was not specified.
tpcall
was called improperly.
tpcall
returned successfully.
TuxATMITPReplyException
- If there was a service failure (TPESVCFAIL or
TPSVCERROR), the exception will also have the reply data from the service.
tperrno in TuxATMITPReplyException is set to one of the following values.TuxATMITPReplyException
.
If the service request was made on behalf of the caller's current transaction,
then the transaction is marked abort-only.
Note that regardless of whether the transaction has timed out, the only valid
communications before the transaction is aborted are calls to tpacall()
with TPNOREPLY, TPNOTRAN, and TPNOBLOCK set.
tpreturn
or tpforward
(for example, bad arguments were passed). No reply data
is returned when this error occurs. If the service request was made on behalf of
the caller's transaction (that is, TPNOTRAN was not set), then the transaction is
marked abort-only.
Note that regardless of whether the transaction has timed out, the only valid
communications before the transaction is aborted are calls to tpacall() with
TPNOREPLY, TPNOTRAN, and TPNOBLOCK set.
If either SVCTIMEOUT in the UBBCONFIG file or TA_SVCTIMEOUT in the TM_MIB is
non-zero, TPESVCERR is returned when a service timeout occurs.
public int tpacall(java.lang.String svc, weblogic.wtc.jatmi.TypedBuffer idata, long flags) throws TuxATMITPException
tpacall
in interface TuxApplicationToMonitorInterface
svc
- same as the TuxApplicationToMonitorInterface interfaceidata
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public TuxATMIReply tpgetrply(int cd, long flags) throws TuxATMITPException
tpgetrply
in interface TuxApplicationToMonitorInterface
cd
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpcancel(int cd) throws TuxATMITPException
tpcancel
in interface TuxApplicationToMonitorInterface
cd
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public void tpreturn(int rval, long rcode, weblogic.wtc.jatmi.TypedBuffer rdata, long flags) throws TuxATMITPException
tpreturn
in interface TuxApplicationToMonitorInterface
rval
- same as the TuxApplicationToMonitorInterface interfacercode
- same as the TuxApplicationToMonitorInterface interfacerdata
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
- If the a jvm-options is specified by -Dtuxedo.tjatmi.strictlyCheck=yes or
-Dtuxedo.tjatmi.strictlyCheck=true, tpreturn may throw a TuxATMITPException
when active outstanding replies are still existing. The error code is set
to TPERTNOUTRPLY.
When the exception with this error code is caught, the normal action is
call tpcancel() to cancel existing outstanding replies.
Java service routines, are expected to terminate using either tpreturn
or tpforward
.
If a service routine returns without using either tpreturn
(that is,
it uses the Java language return statement or just simply "falls out of the function") ,
the server will return a service error to the service requester. Any outstanding
asynchronous replies will be dropped. If the server was in transaction mode at the
time of failure, the transaction is marked rollback-only.
Since tpreturn
is the latst excecution statement in the service routine,
any errors encountered either in handling arguments or in processing cannot be
indicated to the function's caller.
Such errors cause tperrno to be set to TPESVCERR for a program receiving the service's
outcome via either tpcall
or tpgetrply
.
public void tpforward(java.lang.String svcname, weblogic.wtc.jatmi.TypedBuffer data, long flags) throws TuxATMITPException
tpforward
in interface TuxApplicationToMonitorInterface
svcname
- same as the TuxApplicationToMonitorInterface interfacedata
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpadvertise(java.lang.String svcname, java.lang.String clsname, java.lang.String methodnm, long flags) throws TuxATMITPException
tpadvertise
in interface TuxApplicationToMonitorInterface
svcname
- same as the TuxApplicationToMonitorInterface interfaceclsname
- same as the TuxApplicationToMonitorInterface interfacemethodnm
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpunadvertise(java.lang.String svcname, long flags) throws TuxATMITPException
tpunadvertise
in interface TuxApplicationToMonitorInterface
svcname
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpregadmcmd(java.lang.String command, java.lang.String clsname, java.lang.String methodnm, long flags) throws TuxATMITPException
TuxATMITPException
public int tpunregadmcmd(java.lang.String command, long flags) throws TuxATMITPException
TuxATMITPException
public void userlog(java.lang.String format, java.lang.Object... args)
userlog()
accepts a printf(3S)
style format specification,
with a fixed output file - the Oracle Tuxedo ATMI system central event log.
The central event log is an ordinary UNIX file whose pathname is composed as follows:
If the shell variable ULOGPFX
is set, its value is used as the prefix for the filename.
If ULOGPFX
is not set, ULOG is used. The prefix is determined the first
time userlog()
is called. Each time userlog()
is called the date
is determined, and the month, day, and year are concatenated to the prefix
as mmddyy
to set the name for the file. The first time a process writes to the user log,
it first writes an additional message indicating the associated Oracle Tuxedo ATMI system version.
The message is then appended to the file. With this scheme, processes that
call userlog()
on successive days will write into different files.
Messages are appended to the log file with a tag made up of the time (hhmmss
),
system name, process name, and process ID, thread ID, and context ID of the calling process.
The tag is terminated with a colon (:). The name of the process is taken from the pathname
of the external variable proc_name. If proc_name has value NULL, the printed name is set to ?proc.
Oracle Tuxedo ATMI system-generated error messages in the log file are prefixed by a unique identification string of the form:
<catalog>:number>:
This string gives the name of the internationalized catalog containing the message string, plus the message number. By convention, Oracle Tuxedo ATMI system-generated error messages are used only once, so the string uniquely identifies a location in the source code.
If the last character of the format specification is not a newline character,
userlog()
appends one.
If the first character of the shell variable ULOGDEBUG
is 1 or y,
the message sent to userlog()
is also written to the standard error of the calling
process, using the fprintf(3S)
function.
userlog()
is used by the Oracle Tuxedo ATMI system to record a variety of events.
The userlog()
mechanism is entirely independent of any database transaction
logging mechanism.
A thread in a multithreaded application may issue a call to userlog()
while running
in any context state, including TPINVALIDCONTEXT
.
Environment Variables
ULOGMILLISEC
An on/off switch environment variable that time stamps messages sent to the userlog file in
millisecond time intervals instead of seconds. If not specified, default time stamping is in seconds.
The server must be rebooted when ULOGMILLISEC is turned on or off.
Example: ULOGMILLISEC=Y
ULOGRTNSIZE
An on/off switch environment variable that specifies the userlog rotation file size.
The default rotation file size is 2GB. The server must be rebooted when ULOGRTNSIZE
is turned on or off.
Example: ULOGRTNSIZE=1000000
(when the file size is 1Mb)
Rotated files are saved in using the following syntax: filename.nn.
Example: ULOG.083103.1, ULOG.083103.2 ... ULOG.083103.10,
etc.
Note: If ULOGRTNSIZE
is not specified, file rotation does not take place.
Portability
The userlog()
interface is supported on UNIX and MS-DOS operating systems.
The system name produced as part of the log message is not available on MS-DOS systems;
therefore, the value PC is used as the system name for MS-DOS systems.
Examples
If the variable ULOGPFX
is set to /application/logs/log
and
if the first call to userlog()
occurred on 9/7/90, the log file created is named code>/application/logs/log.090790. If the call:
userlog("UNKNOWN USER '%s' (UID=%d)", usrname, UID);
is made at 4:22:14pm on the UNIX system file named m1
by the sec
program,
whose process-id is 23431, and the variable usrname
contains the string "sxx",
and the variable UID contains the integer 123, the following line appears in the log file:
162214.m1!sec.23431: UNKNOWN USER 'sxx' (UID=123)
If the message is sent to the central event log while the process is in transaction mode,
the user log entry has additional components in the tag. These components consist of the literal
gtrid
followed by three long
hexadecimal integers. The integers uniquely identify the global
transaction and make up what is referred to as the global transaction identifier. This identifier is used
mainly for administrative purposes, but it does make an appearance in the tag that prefixes the
messages in the central event log. If the foregoing message is written to the central event log in
transaction mode, the resulting log entry will look like this:
162214.logsys!security.23431: gtrid x2 x24e1b803 x239: UNKNOWN USER 'sxx' (UID=123)
If the shell variable ULOGDEBUG
has a value of y
,
the log message is also written to the standard error of the program named security
.
Errors
userlog()
hangs if the message sent to it is larger than BUFSIZ as defined in stdio.h
Diagnostics
userlog()
returns the number of characters output, or a negative value if an
output error was encountered. Output errors include the inability to open, or write to the current log file.
Inability to write to the standard error, when ULOGDEBUG
is set, is not considered
an error.
Notices
It is recommended that applications'use of userlog() messages be limited to messages that can be used to help debug application errors; flooding the log with incidental information can make it hard to spot actual errors.
public long tpurcode()
tpurcode
can be used to retrieve the user code associated with
current context.public long tpsubscribe(java.lang.String eventexpr, java.lang.String filter, TPEVCTL ctl, long flags) throws TuxATMITPException
tpsubscribe
in interface TuxApplicationToMonitorInterface
eventexpr
- same as the TuxApplicationToMonitorInterface interfacefilter
- same as the TuxApplicationToMonitorInterface interfacectl
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpunsubscribe(long subscription, long flags) throws TuxATMITPException
tpunsubscribe
in interface TuxApplicationToMonitorInterface
subscription
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tppost(java.lang.String eventname, weblogic.wtc.jatmi.TypedBuffer data, long flags) throws TuxATMITPException
tppost
in interface TuxApplicationToMonitorInterface
eventname
- same as the TuxApplicationToMonitorInterface interfacedata
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpnotify(CLIENTID cltid, weblogic.wtc.jatmi.TypedBuffer data, long flags) throws TuxATMITPException
tpnotify
in interface TuxApplicationToMonitorInterface
cltid
- same as the TuxApplicationToMonitorInterface interfacedata
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpbroadcast(java.lang.String lmid, java.lang.String usrname, java.lang.String cltname, weblogic.wtc.jatmi.TypedBuffer data, long flags) throws TuxATMITPException
tpbroadcast
in interface TuxApplicationToMonitorInterface
lmid
- same as the TuxApplicationToMonitorInterface interfaceusrname
- same as the TuxApplicationToMonitorInterface interfacecltname
- same as the TuxApplicationToMonitorInterface interfacedata
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpenqueue(java.lang.String qspace, java.lang.String qname, TPQCTL ctl, weblogic.wtc.jatmi.TypedBuffer data, long flags) throws TuxATMITPException
tpenqueue
in interface TuxApplicationToMonitorInterface
qspace
- same as the TuxApplicationToMonitorInterface interfaceqname
- same as the TuxApplicationToMonitorInterface interfacectl
- same as the TuxApplicationToMonitorInterface interfacedata
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public TuxATMIReply tpdequeue(java.lang.String qspace, java.lang.String qname, TPQCTL ctl, long flags) throws TuxATMITPException
tpdequeue
in interface TuxApplicationToMonitorInterface
qspace
- same as the TuxApplicationToMonitorInterface interfaceqname
- same as the TuxApplicationToMonitorInterface interfacectl
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpsblktime(int blktime, long flags) throws TuxATMITPException
tpsblktime
in interface TuxApplicationToMonitorInterface
blktime
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpgblktime(long flags) throws TuxATMITPException
tpgblktime
in interface TuxApplicationToMonitorInterface
flags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpsprio(int prio, long flags) throws TuxATMITPException
tpsprio
in interface TuxApplicationToMonitorInterface
prio
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpgprio() throws TuxATMITPException
tpgprio
in interface TuxApplicationToMonitorInterface
TuxATMITPException
public weblogic.wtc.jatmi.TypedFML tpxmltofml(weblogic.wtc.jatmi.TypedXML xmldata, java.lang.String vfile, java.lang.String rtag, long flags) throws TuxATMITPException
tpxmltofml
in interface TuxApplicationToMonitorInterface
xmldata
- same as the TuxApplicationToMonitorInterface interfacevfile
- same as the TuxApplicationToMonitorInterface interfacertag
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public weblogic.wtc.jatmi.TypedFML32 tpxmltofml32(weblogic.wtc.jatmi.TypedXML xmldata, java.lang.String vfile, java.lang.String rtag, long flags) throws TuxATMITPException
tpxmltofml32
in interface TuxApplicationToMonitorInterface
xmldata
- same as the TuxApplicationToMonitorInterface interfacevfile
- same as the TuxApplicationToMonitorInterface interfacertag
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public weblogic.wtc.jatmi.TypedXML tpfmltoxml(weblogic.wtc.jatmi.TypedFML fmldata, java.lang.String vfile, java.lang.String rtag, long flags) throws TuxATMITPException
tpfmltoxml
in interface TuxApplicationToMonitorInterface
fmldata
- same as the TuxApplicationToMonitorInterface interfacevfile
- same as the TuxApplicationToMonitorInterface interfacertag
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public weblogic.wtc.jatmi.TypedXML tpfml32toxml(weblogic.wtc.jatmi.TypedFML32 fmldata, java.lang.String vfile, java.lang.String rtag, long flags) throws TuxATMITPException
tpfml32toxml
in interface TuxApplicationToMonitorInterface
fmldata
- same as the TuxApplicationToMonitorInterface interfacevfile
- same as the TuxApplicationToMonitorInterface interfacertag
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpbegin(long trntime, long flags) throws TuxATMITPException
tpbegin
in interface TuxApplicationToMonitorInterface
trntime
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpcommit(long flags) throws TuxATMITPException
tpcommit
in interface TuxApplicationToMonitorInterface
flags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpabort(long flags) throws TuxATMITPException
tpabort
in interface TuxApplicationToMonitorInterface
flags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public TPTRANID tpsuspend(long flags) throws TuxATMITPException
tpsuspend
in interface TuxApplicationToMonitorInterface
flags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpresume(TPTRANID trnId, long flags) throws TuxATMITPException
tpresume
in interface TuxApplicationToMonitorInterface
trnId
- same as the TuxApplicationToMonitorInterface interfaceflags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException
public int tpgetlev() throws TuxATMITPException
tpgetlev
in interface TuxApplicationToMonitorInterface
TuxATMITPException
public int tpscmt(long flags) throws TuxATMITPException
tpscmt
in interface TuxApplicationToMonitorInterface
flags
- same as the TuxApplicationToMonitorInterface interfaceTuxATMITPException