public RefusalCauseImpl(RefusalCauseValue value) { this.value = value; if (value != null) this.digValue = value.getValue(); }
public boolean getSccpCreatesSls() { if (this.protocolClass == null || this.protocolClass.getProtocolClass() == 0) return true; else return false; }
public ErrorCauseImpl() { value = ErrorCauseValue.UNQUALIFIED; this.digValue = value.getValue(); }
@Override public String getOriginatorSccpAddress() { if (correlationIdValue.getOriginatorSccpAddress() != null && correlationIdValue.getOriginatorSccpAddress().getGlobalTitle() != null) return correlationIdValue.getOriginatorSccpAddress().getGlobalTitle().getDigits(); else return null; }
public ReleaseCauseImpl(ReleaseCauseValue value) { this.value = value; if (value != null) this.digValue = value.getValue(); }
public ResetCauseImpl(ResetCauseValue value) { this.value = value; if (value != null) this.digValue = value.getValue(); }
@Override public void decode(byte[] bb, final ParameterFactory factory, final SccpProtocolVersion sccpProtocolVersion) throws ParseException { this.digValue = bb[0] & 0xff; this.value = ReturnCauseValue.getInstance(this.digValue); }
public boolean getReturnMessageOnError() { if (this.protocolClass != null) return this.protocolClass.getReturnMessageOnError(); else return false; }
public ReturnCauseImpl(ReturnCauseValue value) { this.value = value; if (value != null) this.digValue = value.getValue(); }
@Override public void decode(final InputStream in, final ParameterFactory factory, final SccpProtocolVersion sccpProtocolVersion) throws ParseException { this.digits = this.encodingScheme.decode(in); }
public ReleaseCauseImpl(int digValue) { this.digValue = digValue; value = ReleaseCauseValue.getInstance(digValue); }
public ResetCauseImpl(int digValue) { this.digValue = digValue; value = ResetCauseValue.getInstance(digValue); }
public void clearReturnMessageOnError() { if (this.protocolClass != null) this.protocolClass.clearReturnMessageOnError(); }
public RefusalCauseImpl(int digValue) { this.digValue = digValue; value = RefusalCauseValue.getInstance(digValue); }
public ErrorCauseImpl(int digValue) { this.digValue = digValue; value = ErrorCauseValue.getInstance(digValue); }
@Override protected boolean getIsProtocolClass1() { return this.protocolClass.getProtocolClass() != 0; }
public ErrorCauseImpl(ErrorCauseValue value) { this.value = value; if (value != null) this.digValue = value.getValue(); }
public ReleaseCauseImpl() { value = ReleaseCauseValue.UNQUALIFIED; this.digValue = value.getValue(); }
public ResetCauseImpl() { value = ResetCauseValue.UNQUALIFIED; this.digValue = value.getValue(); }
public ReturnCauseImpl(int digValue) { this.digValue = digValue; value = ReturnCauseValue.getInstance(digValue); }