Tuxedo
0

File Formats, Data Descriptions, MIBs, and System Processes Reference

 Previous Next Contents View as PDF  

T_EVENT_COMMAND Class Definition

Overview

The T_EVENT_COMMAND class represents a set of subscriptions registered with the EventBroker that trigger execution of system commands. When an event is detected, it is compared to each T_EVENT_COMMAND object. If the event name matches the value in TA_EVENT_EXPR and the optional filter rule is TRUE, the event buffer is formatted and passed to the system's command interpreter.

Attribute Table

Table 33 T_EVENT_COMMAND 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--------

string[1..255]

string[1..255]

carray[1..64000]

N/A

none

none

TA_STATE(r)

string

R-x------

GET: ACT

SET: {NEW | INV}

N/A

N/A

TA_COMMAND(r) (*)

string

R--------

string[1..255]

N/A

(k)—a key field for object retrieval
(r)—the field is required when a new object is created
(*)—GET/SET key, one or more required for SET operations


 

Check MIB(5) for an explanation of Permissions.

Attribute Semantics

TA_EVENT_EXPR: string[1..255]

Event pattern expression. This expression, in regular expression 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_COMMAND object(s).

SET: {NEW | INValid}

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


 

TA_COMMAND: string[1..255]

Execute this system command when an event matching this object is detected. For UNIX system platforms, the command is executed in the background using system(3).

 

Back to Top Previous Next
Contact e-docsContact BEAwebmasterprivacy