HPSearch

cgl.hpsearch.nb4ws
Class NB4WSFactory

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

public class NB4WSFactory
extends Object
implements ConnectorListener, NB4WSFactoryCommands

The Factory is the gateway interface for consuming Web Services. We send the WSDL URI to the factory and request it to create a new WSNBBridge object. The WSNBBridge then creates a commandIn and resultOut topic and sends it as the response for the consume request. Intersted clients can then publish commands on the commandIn topic and get results on the resultOut topic
Created on Feb 2, 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
NB4WSFactory()
           
 
Method Summary
static void main(String[] args)
           
 void process(String command)
           
 void processEvent(NBEvent nbEvent)
           
 void removeMe(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NB4WSFactory

public NB4WSFactory()
Method Detail

removeMe

public void removeMe(String id)

process

public void process(String command)

processEvent

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

main

public static void main(String[] args)

HPSearch

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