Upstreaming version 0.10.7
[ric-plt/submgr.git] / pkg / control / types.go
index 2a4e9d5..3a9587f 100644 (file)
 
 package control
 
+import (
+       "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp"
+)
+
 type RmrDatagram struct {
        MessageType    int
        SubscriptionId uint16
        Payload        []byte
 }
+
+type SubRouteInfo struct {
+       Command Action
+       Address string
+       Port    uint16
+       SubID   uint16
+}
+
+type Action int
+
+type TransactionKey struct {
+       SubID     uint16
+       transType Action
+}
+
+type Transaction struct {
+       XappInstanceAddress string
+       XappPort            uint16
+       OrigParams          *xapp.RMRParams
+}