BEA Logo BEA WebLogic Enterprise Release 5.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   WebLogic Enterprise Doc Home   |   Tuxedo ATMI Topics   |   Previous Topic   |   Next Topic   |   Contents   |   Index

T_EVENT_USERLOG Class Definition

Overview

The T_EVENT_USERLOG class represents a set of subscriptions registered with the Event Broker for writing system userlog(3) messages. When an event is detected, it is compared to each T_EVENT_USERLOG object. If the event name matches the value in TA_EVENT_EXPR and the optional filter rule is true, then the event buffer is formatted and passed to BEA Tuxedo's userlog(3) function.

Attribute Table

Table 0-15 T_EVENT_USERLOG Class Definition Attribute Table

Attribute

Type

Permissions

Values

Default

TA_EVENT_EXPR( r )

TA_EVENT_FILTER( k )

TA_EVENT_FILTER_BINARY( k )

string

string

carray

R--R-----

R--R-----

R--R-----

string[1...255]

string[1...255]

carray[1...64000]

N/A

none

none

TA_STATE( r )

string

R-xR-x---

GET:"{ACT}"

SET:"{NEW|INV}"

N/A

N/A

TA_USERLOG( r )

string

R--R-----

string[1...255]

N/A

( k ) - a key field for object retrieval
( r ) - the field is required when a new object is created

Check MIB(5) for an explanation of Permissions.

Attribute Semantics

TA_EVENT_EXPR: string[1...255]

Event pattern expression. This expression, in recomp(3) format, controls which event names match this subscription.

TA_EVENT_FILTER: string[1...255]

Event filter expression. This expression, if present, is evaluated with respect to the posted buffer's contents. It must evaluate to TRUE or this subscription is not matched.

TA_EVENT_FILTER_BINARY: carray[1...64000]

Event filter expression, in binary (carray) format. Same as TA_EVENT_FILTER, but may contain arbitrary binary data. Only one of TA_EVENT_FILTER or TA_EVENT_FILTER_BINARY may be specified.

TA_STATE:

GET: ACTive

A GET operation will retrieve configuration information for the matching T_EVENT_USERLOG object(s).

SET: {NEW|INValid}

A SET operation will update configuration information for the T_EVENT_USERLOG object. The following states indicate the meaning of a TA_STATE set in a SET request. States not listed may not be set.

NEW

Create T_EVENT_USERLOG object. Successful return leaves the object in the ACTive state.

INValid

Delete T_EVENT_USERLOG object. Successful return leaves the object in the INValid state.

TA_USERLOG: string[1...255]

Write a userlog(3) message when a matching event is detected.

Files

${TUXDIR}/udataobj/evt_mib ${TUXDIR}/include/evt_mib.h

See Also

EVENTS(5), TM_MIB(5)