|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.hpsearch.shell.narada.NBPerfData
| Constructor Summary | |
NBPerfData(String host,
String port)
Create a Connection to some broker and subscribe as a listener of the topic NB_PERFORMANCE_DATA_TOPIC. |
|
| Method Summary | |
String[] |
getLinks(String nodeId)
|
String[] |
getNodes()
|
void |
insertUpdateRecord(String data)
Adds the data to a DOM Tree |
void |
onEvent(NBEvent nbEvent)
Registers the data in the DOM-Tree / Vector when an event is received |
void |
printTree()
|
String[] |
query(String xpathQuery)
|
boolean |
startReceivingEvents()
Starts listening on the topic specified by NB_PERFORMANCE_DATA_TOPIC |
boolean |
stopReceivingEvents()
Stops listening on the topic specified by NB_PERFORMANCE_DATA_TOPIC |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NBPerfData(String host,
String port)
host - -
String representing the host of the broker to connect toport - -
String representing the port on which the broker is listening| Method Detail |
public boolean stopReceivingEvents()
public boolean startReceivingEvents()
public void onEvent(NBEvent nbEvent)
onEvent in interface NBEventListenerNBEventListener.onEvent(cgl.narada.event.NBEvent)public String[] getNodes()
public String[] getLinks(String nodeId)
public String[] query(String xpathQuery)
public void insertUpdateRecord(String data)
data - XML String containaing to data.public void printTree()
|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||