cgl.narada.discovery.topics
Class TopicDiscoveryNode

java.lang.Object
  extended by cgl.narada.discovery.topics.TopicDiscoveryNode
All Implemented Interfaces:
NBEventListener

public class TopicDiscoveryNode
extends Object
implements NBEventListener

Implementation of a Topic Discovery Node Created on Apr 7, 2005


Constructor Summary
TopicDiscoveryNode(int clientEntityId, String configFile, String tdnid, String host, String port, String protocol, String output)
           
 
Method Summary
static void main(String[] args)
          Starts the Topic Discovery node.
 void onEvent(NBEvent nbEvent)
          Process events
 void send(String topicName, byte[] request)
          Send the specified message on specified topic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopicDiscoveryNode

public TopicDiscoveryNode(int clientEntityId,
                          String configFile,
                          String tdnid,
                          String host,
                          String port,
                          String protocol,
                          String output)
Method Detail

send

public void send(String topicName,
                 byte[] request)
Send the specified message on specified topic

Parameters:
topicName - - The topic on which to send the message
request - - The message to be sent

onEvent

public void onEvent(NBEvent nbEvent)
Process events

Specified by:
onEvent in interface NBEventListener

main

public static void main(String[] args)
Starts the Topic Discovery node. Use -help for usage
TODO: Add parsing of command line parameters to provide more fine grained control



For comments and suggestions please send e-mail to The NaradaBrokering Project