HPSearch

cgl.hpsearch.nb4ws
Class WSNBBridge

java.lang.Object
  extended bycgl.hpsearch.nb4ws.WSNBBridge
All Implemented Interfaces:
ConnectorListener, NB4WSFactoryCommands

public class WSNBBridge
extends Object
implements ConnectorListener, NB4WSFactoryCommands

Creates a bridge between NaradaBrokering and an arbitrary web service. The Web Service may then be invoked by sending the appropriate commands to this NB Client on the specified topic. The results of the invocation are sent back on another specified topic.
Created on Jan 31, 2005

Author:
Harshawardhan Gadgil (hgadgil@grids.ucs.indiana.edu)

Field Summary
 
Fields inherited from interface cgl.hpsearch.nb4ws.NB4WSFactoryCommands
CREATE_BRIDGE, CREATE_BRIDGE_RESPONSE, ENUMERATE_BRIDGES, ENUMERATE_BRIDGES_RESPONSE, EXIT, GET_BRIDGE_TOPICS, GET_BRIDGE_TOPICS_RESPONSE, INVOKE, INVOKE_RESPONSE, PING
 
Constructor Summary
WSNBBridge(NB4WSFactory _fac, String id, String cmdInTopic, String resOutTopic)
           
 
Method Summary
 void processEvent(NBEvent nbEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSNBBridge

public WSNBBridge(NB4WSFactory _fac,
                  String id,
                  String cmdInTopic,
                  String resOutTopic)
Method Detail

processEvent

public void processEvent(NBEvent nbEvent)
Specified by:
processEvent in interface ConnectorListener

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006