The ASListener example creates a listener for a space. The listener callback is invoked whenever a put, take, expire, seed, or unseed event occurs for an entry in the space. The listener callback displays information about the event that caused it to be invoked.
The ASListener example does not create any entries in the space. Therefore you should run
ASOperations to create the space and put data into it so you will have something which triggers the ASListener example. he space and put data into it so you will have something in the space to “browse.” See
ASOperations for more specific information on running
ASOperations.
-filter “” | _string where: “”=no filter (default)
These command line options start ASListener using the default metaspace named ms and allow it to connect to a security domain controller that has been started using the example security policy file
example_policy.txt.
By varying the additional command line arguments of the ASListener example, you can affect the behavior of
ASListener. For example, to cause
ASListener to display all entries added to the space, start
ASListener with the following additional command line option: