SVC address support for rmr stubs.
[ric-plt/submgr.git] / pkg / control / types.go
index 5f46e65..08bcda4 100644 (file)
 
 package control
 
-type RmrPayload struct {
-       MessageType int
-       SubscriptionId int
-       Content string 
+import (
+       "gerrit.o-ran-sc.org/r/ric-plt/e2ap/pkg/e2ap"
+)
+
+//-----------------------------------------------------------------------------
+//
+//-----------------------------------------------------------------------------
+type RequestId struct {
+       e2ap.RequestId
 }
 
-type RmrDatagram struct {
-  MessageType int
-       SubscriptionId int
-       Payload []byte 
+func (rid *RequestId) String() string {
+       return "reqid(" + rid.RequestId.String() + ")"
 }