Sampling Filtering

JADE provides a mechanism to filter object output records so that you can specify the objects in which you are interested. Write a sampling filter command file by using a text editor (for example, Notepad).

The filesmpl library can take object filter commands from a sampling filter command file.

Specify the command file in the SamplingFilterFile parameter in the [JadeClient] section or [JadeServer] section of the JADE initialization file. (For details, see "Filter Commands", in the following subsection.)

The tcpsmpl library can take object filter commands from a sampling filter command line at startup, as well as from the TCP/IP connection at run time.

When performing manual sampling by using the Node class or System class methods, the contents of the SamplingLibraryName and SamplingLibraryInitialization parameters in the [JadeClient] section or [JadeServer] section of the JADE initialization file must be passed as the libraryName and initializationParameter parameters in the appropriate beginSample method.

In addition, you can supply the contents of the SamplingFilterFile parameter one command at a time, by using the command parameter in the logUserCommand method in the Node class or System class. (You can subscribe to an exception in a sampling library by specifying the SamplingExceptionEvent number in the command parameter of the Node class logUserCommand method.)