X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fcontrol%2Ftypes.go;h=3a9587f2ab2728037f1bc26f89fd34b72114bbd2;hb=1a50344b88201d4620b74d50d658a51117173636;hp=2a4e9d5c158417639190f9a3836b1e12e4c38f12;hpb=fbc56f981b7bd3387f7326401ceccbf31893a2ed;p=ric-plt%2Fsubmgr.git diff --git a/pkg/control/types.go b/pkg/control/types.go index 2a4e9d5..3a9587f 100644 --- a/pkg/control/types.go +++ b/pkg/control/types.go @@ -19,8 +19,32 @@ 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 +}