maslab.telemetry.channel
Class TextChannel

java.lang.Object
  extended by maslab.telemetry.channel.Channel
      extended by maslab.telemetry.channel.TextChannel

public class TextChannel
extends Channel

Channel for publishing text messages to the BotClient


Constructor Summary
TextChannel(java.lang.String name)
          Create a new TextChannel
 
Method Summary
 void publish(java.lang.String message)
          Send a text message to the BotClient.
 
Methods inherited from class maslab.telemetry.channel.Channel
addCommandListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextChannel

public TextChannel(java.lang.String name)
Create a new TextChannel

Parameters:
name - The channel name
Method Detail

publish

public void publish(java.lang.String message)
Send a text message to the BotClient. Newlines are not sent automatically, so include your own "\n".

Parameters:
message - The message to send.