X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fcontrol%2Ftypes.go;h=c8c09dca0f79ad0a63a57d0210d59212f8613c0f;hb=fbd4df5c352abde2ca4c0867f7471a0050242fdb;hp=2a4e9d5c158417639190f9a3836b1e12e4c38f12;hpb=fbc56f981b7bd3387f7326401ceccbf31893a2ed;p=ric-plt%2Fsubmgr.git diff --git a/pkg/control/types.go b/pkg/control/types.go index 2a4e9d5..c8c09dc 100644 --- a/pkg/control/types.go +++ b/pkg/control/types.go @@ -19,8 +19,25 @@ package control -type RmrDatagram struct { - MessageType int - SubscriptionId uint16 - Payload []byte +import ( + "gerrit.o-ran-sc.org/r/ric-plt/e2ap/pkg/e2ap" +) + +//----------------------------------------------------------------------------- +// +//----------------------------------------------------------------------------- +type RequestId struct { + e2ap.RequestId +} + +func (rid *RequestId) String() string { + return "reqid(" + rid.RequestId.String() + ")" +} + +type Sdlnterface interface { + Set(pairs ...interface{}) error + Get(keys []string) (map[string]interface{}, error) + GetAll() ([]string, error) + Remove(keys []string) error + RemoveAll() error }