Get() (error, *E2APSubscriptionDeleteFailure)
}
-//-----------------------------------------------------------------------------
-//
-//-----------------------------------------------------------------------------
-type E2APMsgPackerIndicationIf interface {
- E2APMsgPackerIf
- Set(*E2APIndication) error
- Get() (error, *E2APIndication)
-}
-
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
NewPackerSubscriptionDeleteRequest() E2APMsgPackerSubscriptionDeleteRequestIf
NewPackerSubscriptionDeleteResponse() E2APMsgPackerSubscriptionDeleteResponseIf
NewPackerSubscriptionDeleteFailure() E2APMsgPackerSubscriptionDeleteFailureIf
- NewPackerIndication() E2APMsgPackerIndicationIf
MessageInfo(msg *packer.PackedData) *packer.MessageInfo
}
if err == nil {
return unpa.Get()
}
- case E2AP_RICIndication:
- unpa := autopacker.packer.NewPackerIndication()
- err = unpa.UnPack(msg)
- if err == nil {
- return unpa.Get()
- }
default:
err = fmt.Errorf("MsgType: E2AP_InitiatingMessage => MsgId:%d unknown", msgInfo.MsgId)
}
if err == nil {
return pa.Pack(trg)
}
- case *E2APIndication:
- pa := autopacker.packer.NewPackerIndication()
- err = pa.Set(themsg)
- if err == nil {
- return pa.Pack(trg)
- }
default:
err = fmt.Errorf("unknown message")
}