|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectautohit.common.channels.Controller
Channel controller. This controller assumes the hashtable provides enough thread safety. I'll get fancy in the future.
Someone, somewhere needs to create an instance of this or the channel system will not work.
EPG - Initial - 25Apr03
Constructor Summary | |
Controller()
Default constructor |
Method Summary | |
static void |
register(java.lang.String name,
Channel ch)
Register a channel |
static void |
remove(java.lang.String name)
Remove a channel |
static Channel |
tune(java.lang.String name)
Tune to a channel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Controller()
Method Detail |
public static void register(java.lang.String name, Channel ch) throws ChannelException
name
- String namech
- A channel
ChannelException
public static void remove(java.lang.String name) throws ChannelException
name
- String name
ChannelException
public static Channel tune(java.lang.String name) throws ChannelException
name
- String name
ChannelException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |