ASListener

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.

The ASListener example recognizes the following additional command line arguments:

-filter “” | _string where: “”=no filter (default)

-distribution_scope all | seeded (default: all)

-timescope snapshot | all | new | new_events (default: new)