const restSubSdlNs = "submgr_restSubsDb"
type RESTSubscriptionInfo struct {
+ Created string
+ XAppServiceName string
XAppRmrEndPoint string
Meid string
InstanceIds []uint32
func (c *Control) WriteRESTSubscriptionToSdl(restSubId string, restSubs *RESTSubscription) error {
var restSubscriptionInfo RESTSubscriptionInfo
+ restSubscriptionInfo.Created = restSubs.Created
+ restSubscriptionInfo.XAppServiceName = restSubs.xAppServiceName
restSubscriptionInfo.XAppRmrEndPoint = restSubs.xAppRmrEndPoint
restSubscriptionInfo.Meid = restSubs.Meid
restSubscriptionInfo.InstanceIds = restSubs.InstanceIds
func (c *Control) CreateRESTSubscription(restSubscriptionInfo *RESTSubscriptionInfo, jsonSubscriptionInfo *string) *RESTSubscription {
restSubs := &RESTSubscription{}
+ restSubs.Created = restSubscriptionInfo.Created
+ restSubs.xAppServiceName = restSubscriptionInfo.XAppServiceName
restSubs.xAppRmrEndPoint = restSubscriptionInfo.XAppRmrEndPoint
restSubs.Meid = restSubscriptionInfo.Meid
restSubs.InstanceIds = restSubscriptionInfo.InstanceIds