mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Changes to model, view and controller components and updates all gui editors. Removes the configuration panel and tree and replaces with 3 new panels. Updates playlist.xml to a new playlist_v2.xml format.
38 lines
835 B
Java
38 lines
835 B
Java
package module.decode.p25.message.tdu.lc;
|
|
|
|
import module.decode.p25.reference.LinkControlOpcode;
|
|
|
|
public class CallTermination extends TDULinkControlMessage
|
|
{
|
|
public static final int[] SOURCE_ADDRESS = { 160,161,162,163,164,165,166,
|
|
167,168,169,170,171,184,185,186,187,188,189,190,191,192,193,194,195 };
|
|
|
|
public CallTermination( TDULinkControlMessage source )
|
|
{
|
|
super( source );
|
|
}
|
|
|
|
@Override
|
|
public String getEventType()
|
|
{
|
|
return LinkControlOpcode.CALL_TERMINATION_OR_CANCELLATION.getDescription();
|
|
}
|
|
|
|
@Override
|
|
public String getMessage()
|
|
{
|
|
StringBuilder sb = new StringBuilder();
|
|
|
|
sb.append( getMessageStub() );
|
|
|
|
sb.append( " BY:" + getSourceAddress() );
|
|
|
|
return sb.toString();
|
|
}
|
|
|
|
public String getSourceAddress()
|
|
{
|
|
return mMessage.getHex( SOURCE_ADDRESS, 6 );
|
|
}
|
|
}
|