HPSearch

cgl.hpsearch.nb4ws.connector
Class NBConnector

java.lang.Object
  extended bycgl.hpsearch.nb4ws.connector.NBConnector
All Implemented Interfaces:
NBEventListener

public class NBConnector
extends Object
implements NBEventListener

Created on Feb 2, 2005

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

Constructor Summary
NBConnector(String stream, ConnectorListener l)
           
 
Method Summary
 void close()
           
 void onEvent(NBEvent ev)
           
 void send(String response)
          Writes the response as an NBEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NBConnector

public NBConnector(String stream,
                   ConnectorListener l)
Method Detail

onEvent

public void onEvent(NBEvent ev)
Specified by:
onEvent in interface NBEventListener

send

public void send(String response)
Writes the response as an NBEvent

Parameters:
response - - The string to write

close

public void close()

HPSearch

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