mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
-Removed channel collection panel since panels will only have 1 channel now -Resolved issue with channel list and channel selection events -Fixed some of the classes from the rebase to master branch
29 lines
633 B
Java
29 lines
633 B
Java
package module.decode.state;
|
|
|
|
import controller.channel.Channel.ChannelType;
|
|
|
|
/**
|
|
* Allows decoders to change the call timeout setting in the channel state
|
|
*/
|
|
public class ChangeChannelTimeoutEvent extends DecoderStateEvent
|
|
{
|
|
private ChannelType mChannelType;
|
|
private long mCallTimeout;
|
|
|
|
public ChangeChannelTimeoutEvent( Object source, ChannelType channelType, long timeout )
|
|
{
|
|
super( source, Event.CHANGE_CALL_TIMEOUT, State.IDLE );
|
|
mChannelType = channelType;
|
|
mCallTimeout = timeout;
|
|
}
|
|
|
|
public ChannelType getChannelType()
|
|
{
|
|
return mChannelType;
|
|
}
|
|
|
|
public long getCallTimeout()
|
|
{
|
|
return mCallTimeout;
|
|
}
|
|
} |