public class InputService extends Object
| Constructor and Description |
|---|
InputService(com.squareup.okhttp.OkHttpClient httpclient,
URI serverUrl,
NodeId nodeId) |
| Modifier and Type | Method and Description |
|---|---|
PersistedInputsResponse |
getPersistedInput(String inputId) |
List<PersistedInputsResponse> |
getPersistedInputs() |
RegisterInputResponse |
registerInCluster(MessageInput input) |
void |
unregisterInCluster(MessageInput input) |
public List<PersistedInputsResponse> getPersistedInputs() throws IOException
IOExceptionpublic PersistedInputsResponse getPersistedInput(String inputId) throws IOException
IOExceptionpublic RegisterInputResponse registerInCluster(MessageInput input) throws ExecutionException, InterruptedException, IOException
public void unregisterInCluster(MessageInput input) throws ExecutionException, InterruptedException, IOException
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.