Support for subscription callback
[ric-plt/xapp-frame.git] / pkg / xapp / types.go
old mode 100755 (executable)
new mode 100644 (file)
index 71338ad..2e1eb09
@@ -27,6 +27,8 @@ import (
 type RMRStatistics struct{}
 
 type RMRClient struct {
+       protPort      string
+       numWorkers    int
        context       unsafe.Pointer
        ready         int
        wg            sync.WaitGroup
@@ -38,10 +40,11 @@ type RMRClient struct {
 }
 
 type RMRMeid struct {
-       PlmnID string
-       EnbID  string
+       PlmnID  string
+       EnbID   string
+       RanName string
 }
 
 type MessageConsumer interface {
-       Consume(mtype int, sid int, payload []byte, meid *RMRMeid) error
+       Consume(params *RMRParams) error
 }