cgl.hpsearch.nb4ws.connector
Class NBConnector
java.lang.Object
cgl.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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NBConnector
public NBConnector(String stream,
ConnectorListener l)
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()