org.switchboard
Class GenericService

java.lang.Object
  extended by org.switchboard.GenericService
Direct Known Subclasses:
AllMusic, Amazon, Delicious, FeedParser, Foaf, Google, HostInfo, MSN, Parser, ProxyFinder, SentenceSearch, Shoutcast, SoapService, Tcpdump, TTS, UrbanSearch, YahooImage, YahooMaps, YahooVideo, YahooWeb, YouTube

public abstract class GenericService
extends Object


Constructor Summary
GenericService()
           
 
Method Summary
 void addServiceResultListener(ServiceResultListener listener)
           
 int getNumReturned()
           
 void instanceReturned(org.switchboard.GenericService.Instance i)
           
 boolean isBlocking()
           
 boolean isPaused()
           
 void pause()
           
 void pause(int millis)
           
 void removeServiceResultListener(ServiceResultListener listener)
           
 void resume()
           
 void setBlocking(boolean blocking)
           
 Object[] start(Object serviceRequest)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericService

public GenericService()
Method Detail

start

public Object[] start(Object serviceRequest)

stop

public void stop()

instanceReturned

public void instanceReturned(org.switchboard.GenericService.Instance i)

pause

public void pause(int millis)

getNumReturned

public int getNumReturned()

pause

public void pause()

isPaused

public boolean isPaused()

resume

public void resume()

addServiceResultListener

public void addServiceResultListener(ServiceResultListener listener)

removeServiceResultListener

public void removeServiceResultListener(ServiceResultListener listener)

isBlocking

public boolean isBlocking()

setBlocking

public void setBlocking(boolean blocking)