xmlBlaster 2.2.0 API

javaclients
Class HelloWorldErase

java.lang.Object
  extended by javaclients.HelloWorldErase

public class HelloWorldErase
extends java.lang.Object

This client connects to xmlBlaster and erases a configurable amount of messages.

Try using 'java javaclients.HelloWorldPublish' in another window to create some messages.

Invoke (after starting the xmlBlaster server):
Erase all topics matching the given XPATH query:
 java javaclients.HelloWorldErase -xpath /xmlBlaster/key/myToaster

Erase topic "Sport"
 java javaclients.HelloWorldErase -oid Sport
 

See Also:
HelloWorldPublish, xmlBlaster interface

Field Summary
private  Global glob
           
private static java.util.logging.Logger log
           
private  java.lang.String ME
           
 
Constructor Summary
HelloWorldErase(Global glob)
           
 
Method Summary
static void main(java.lang.String[] args)
          Try
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ME

private final java.lang.String ME
See Also:
Constant Field Values

glob

private final Global glob

log

private static java.util.logging.Logger log
Constructor Detail

HelloWorldErase

public HelloWorldErase(Global glob)
Method Detail

main

public static void main(java.lang.String[] args)
Try
   java javaclients.HelloWorldErase -help
 
for usage help


xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.