public class IndexServer
extends com.google.common.util.concurrent.AbstractService
| Constructor and Description |
|---|
IndexServer(String instance) |
IndexServer(String yamcsInstance,
Map<String,Object> config) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
String |
getInstance() |
void |
submitIndexRequest(Yamcs.IndexRequest req,
IndexRequestListener listener)
Asynchronously submit an index request.
|
public IndexServer(String instance) throws IOException, YarchException
IOExceptionYarchExceptionpublic IndexServer(String yamcsInstance, Map<String,Object> config) throws YarchException, IOException
YarchExceptionIOExceptionprotected void doStart()
doStart in class com.google.common.util.concurrent.AbstractServiceprotected void doStop()
doStop in class com.google.common.util.concurrent.AbstractServicepublic String getInstance()
public void submitIndexRequest(Yamcs.IndexRequest req, IndexRequestListener listener) throws YamcsException
req - the request to be executedlistener - where to send the resulting dataYamcsException - exception thrown if the service is not in running state or the the request is invalidCopyright © 2017 Space Applications Services. All rights reserved.