The T_CLIENT class represents run-time attributes of active clients within an application. These attribute values identify and track the activity of clients within a running application.
1All attributes in Class T_CLIENT are local attributes.
Attribute Semantics
TA_STATE:
GET: {ACTive|SUSpended|DEAd}
GET operation will retrieve run-time information for the selected T_CLIENT object(s). Note that client information is kept in local bulletin board tables only. Therefore, for maximum performance, inquiries on client status should be restricted using key fields as much as possible. The following states indicate the meaning of a TA_STATE returned in response to a GET request. States not listed will not be returned.
SET: {ACTive|SUSpended|DEAd}
SET operation will update run-time information for the selected T_CLIENT object. The following states indicate the meaning of a TA_STATE set in a SET request. States not listed may not be set.
TA_CLIENTID: string[1...78]
TA_CLTNAME: string[0...30]
tpinit (3c) time via the cltname element of the TPINIT structure.
TA_IDLETIME: 0 <= num
TA_SCANUNIT (see the T_DOMAIN class) seconds. When specified as a key field, a positive value indicates that all clients with idle times of at least the indicated value match, a negative value indicates that all clients with no more than the indicated value match, and a 0 value matches all clients.
TA_LMID: LMID
TA_PID: 1 <= num
GET operation for the purpose of retrieving client information for the calling process. If the calling process is not a client, then an error will be returned.
TA_SRVGRP: string[0...30]
grpname element of the TPINIT structure at tpinit (3c) time.
TA_USRNAME: string[0...30]
tpinit (3c) time via the usrname element of the TPINIT structure.
TA_WSC: {Y|N}
Y", then the indicated client is logged in to the application from a remote workstation.
TA_WSH: {Y|N}
Y", then the indicated client is a workstation handler process.
TA_WSHCLIENTID: string[1...78]
TA_WSH == Y); otherwise, this attribute will be returned as a 0-length string.
TA_RELEASE: 0 <= num
TA_SWRELEASE for the same machine. Note that for Workstation clients (TA_WSC == Y), this value may be different than the major release associated with the application administered machine through which the Workstation client accesses the application.
TA_WSPROTO: 0 <= num
TA_WSC == N).
TA_NUMCONV: 0 <= num
tpconnect (3c).
TA_NUMDEQUEUE: 0 <= num
tpdequeue (3c).
TA_NUMENQUEUE: 0 <= num
tpenqueue (3c).
TA_NUMPOST: 0 <= num
tppost (3c).
TA_NUMREQ: 0 <= num
tpcall (3c) or tpacall (3c).
TA_NUMSUBSCRIBE: 0 <= num
tpsubscribe (3c).
TA_NUMTRAN: 0 <= num
TA_NUMTRANABT: 0 <= num
TA_NUMTRANCMT: 0 <= num
TA_CMTRET: {COMPLETE|LOGGED}
TP_COMMIT_CONTROL characteristic for this client. See the description of the BEA TUXEDO system ATMI function tpscmt (3c) for details on this characteristic.
TA_CURCONV: 0 <= num
tpconnect (3c) that are still active.
TA_CURENCRYPTBITS:{0|40|128}
TA_CURREQ: 0 <= num
tpcall (3c) or tpacall (3c) that are still active.
TA_CURTIME: 1 <= num
T_CLIENT:TA_LMID. This attribute can be used to compute elapsed time from the T_CLIENT:TA_TIMESTART attribute value.
TA_LASTGRP: 1 <= num < 30,000
T_GROUP:TA_GRPNO) of the last service request made or conversation initiated from this client.
TA_NADDR: string[1...78]
T_MACHINE class for the T_NADDR attribute. If the address is a TCP/IP address, then it is returned in the dotted_decimal:port_number format:
"//#.#.#.#:port_number"
TA_NOTIFY: {DIPIN|SIGNAL|IGNORE}
T_DOMAIN class description of this attribute for more details.
TA_NUMUNSOL: 0 <= num
TA_RPID: 1 <= num
TA_TIMELEFT: 0 <= num
TA_TIMESTART: 1 <= num
T_CLIENT:TA_LMID, since the client joined the application.
TA_TRANLEV: 0 <= num
None.