com.shimari.bot
Class BroadcastChannel

java.lang.Object
  extended bycom.shimari.bot.BroadcastChannel
All Implemented Interfaces:
Channel

public class BroadcastChannel
extends java.lang.Object
implements Channel

A BroadcastChannel is an aggregate of several other channels. All messages to the broadcast channel will be relayed to all subscribed channels.


Constructor Summary
BroadcastChannel()
           
 
Method Summary
 void addChannel(Channel ch)
           
 void broadcastMessage(java.lang.String message)
           
 void broadcastNotice(java.lang.String notice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BroadcastChannel

public BroadcastChannel()
Method Detail

addChannel

public void addChannel(Channel ch)

broadcastMessage

public void broadcastMessage(java.lang.String message)
Specified by:
broadcastMessage in interface Channel

broadcastNotice

public void broadcastNotice(java.lang.String notice)
Specified by:
broadcastNotice in interface Channel