org.lsst.ccs.bus
Class Bus<T extends BusPayload>

java.lang.Object
  extended by org.lsst.ccs.bus.Bus<T>
All Implemented Interfaces:
Serializable

public class Bus<T extends BusPayload>
extends Object
implements Serializable

Since there is no such thing as a parameterized enum, this class emulates one: it lists the possible bus topics.

See Also:
Serialized Form

Field Summary
static Bus<CommandBusMessage> COMMAND
           
static Bus<LogEvent> LOG
           
static Bus<Status> STATUS
           
 
Method Summary
 int ordinal()
           
 String toString()
           
static Bus valueOf(String str)
           
static Bus[] values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

public static final Bus<LogEvent> LOG

STATUS

public static final Bus<Status> STATUS

COMMAND

public static final Bus<CommandBusMessage> COMMAND
Method Detail

toString

public String toString()
Overrides:
toString in class Object

ordinal

public int ordinal()

valueOf

public static Bus valueOf(String str)

values

public static Bus[] values()


Copyright © 2012 LSST. All Rights Reserved.