RNIB version upgrade
[ric-plt/xapp-frame.git] / pkg / xapp / types.go
index 71338ad..251dae5 100755 (executable)
@@ -27,9 +27,12 @@ import (
 type RMRStatistics struct{}
 
 type RMRClient struct {
+       protPort      string
+       numWorkers    int
        context       unsafe.Pointer
        ready         int
        wg            sync.WaitGroup
+       msgWg         sync.WaitGroup
        mux           sync.Mutex
        stat          map[string]Counter
        consumers     []MessageConsumer
@@ -38,10 +41,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
 }