public class StdOutChannel extends java.lang.Object implements TelemetryChannel
| Constructor and Description |
|---|
StdOutChannel() |
StdOutChannel(java.util.Map<java.lang.String,java.lang.String> namesAndValues) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDeveloperMode()
Gets value indicating whether this channel is in developer mode.
|
void |
send(Telemetry item)
Sends a Telemetry instance through the channel.
|
void |
setDeveloperMode(boolean value)
Sets value indicating whether this channel is in developer mode.
|
void |
stop(long timeout,
java.util.concurrent.TimeUnit timeUnit)
Stops on going work
|
public StdOutChannel()
public StdOutChannel(java.util.Map<java.lang.String,java.lang.String> namesAndValues)
public boolean isDeveloperMode()
TelemetryChannelisDeveloperMode in interface TelemetryChannelpublic void setDeveloperMode(boolean value)
TelemetryChannelsetDeveloperMode in interface TelemetryChannelvalue - True for applying develoer modepublic void send(Telemetry item)
TelemetryChannelsend in interface TelemetryChannelitem - The Telemetry item to send.public void stop(long timeout,
java.util.concurrent.TimeUnit timeUnit)
TelemetryChannelstop in interface TelemetryChanneltimeout - Time to try and stoptimeUnit - The units of the 'timeout' parameter