be.lassi.lanbox.domain
Class ChannelChange
java.lang.Object
be.lassi.lanbox.domain.ChannelChange
public class ChannelChange
- extends java.lang.Object
A channel change request. Whenever the application thinks a
dmx output channel level should be changed it can create a
ChannelChange
and put it on the ChannelChangeQueue
.
- See Also:
ChannelChangeQueue
,
LanboxEngine
Constructor Summary |
ChannelChange(int channelId,
int dmxValue)
Constructs a new channel change request. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ChannelChange
public ChannelChange(int channelId,
int dmxValue)
- Constructs a new channel change request.
- Parameters:
channelId
- the dmx channel numberdmxValue
- the new dmx level value
equals
public boolean equals(java.lang.Object object)
-
- Overrides:
equals
in class java.lang.Object
getChannelId
public int getChannelId()
- Gets the dmx channel number.
- Returns:
- the dmx channel number
getDmxValue
public int getDmxValue()
- Gets the new dmx value.
- Returns:
- the new dmx value
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object