public class RadioInputRegistry extends InputRegistry
| Modifier and Type | Field and Description |
|---|---|
protected com.ning.http.client.AsyncHttpClient |
httpclient |
protected URI |
serverUrl |
executor, inputStates| Constructor and Description |
|---|
RadioInputRegistry(MessageInputFactory messageInputFactory,
ProcessBuffer processBuffer,
com.ning.http.client.AsyncHttpClient httpclient,
URI serverUrl,
InputService inputService,
com.codahale.metrics.MetricRegistry metricRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanInput(MessageInput input) |
protected void |
finishedLaunch(InputState state) |
protected void |
finishedStop(InputState inputState) |
protected void |
finishedTermination(InputState state) |
List<MessageInput> |
getAllPersisted() |
InputState |
launch(MessageInput input,
String id,
boolean register) |
create, getAvailableInputs, getInputState, getInputStates, getPersisted, getRunningInput, getRunningInputs, getRunningInputState, handleLaunchException, hasTypeRunning, launch, launch, launch, launch, launchAllPersisted, launchPersisted, removeFromRunning, runningCount, stop, terminateprotected final com.ning.http.client.AsyncHttpClient httpclient
protected final URI serverUrl
public RadioInputRegistry(MessageInputFactory messageInputFactory, ProcessBuffer processBuffer, com.ning.http.client.AsyncHttpClient httpclient, URI serverUrl, InputService inputService, com.codahale.metrics.MetricRegistry metricRegistry)
public List<MessageInput> getAllPersisted()
getAllPersisted in class InputRegistryprotected void finishedLaunch(InputState state)
finishedLaunch in class InputRegistrypublic void cleanInput(MessageInput input)
cleanInput in class InputRegistryprotected void finishedTermination(InputState state)
finishedTermination in class InputRegistrypublic InputState launch(MessageInput input, String id, boolean register)
launch in class InputRegistryprotected void finishedStop(InputState inputState)
finishedStop in class InputRegistryCopyright © 2012-2014 TORCH GmbH. All Rights Reserved.