X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fcontrol%2Ftypes.go;h=08bcda4360c2878d3d39939da73b7357a3738044;hb=7348625b9ef03d41dd5a0ca0f6c508376259717e;hp=3a9587f2ab2728037f1bc26f89fd34b72114bbd2;hpb=1455c85dea3fba44cdcba8a92864be730691a6ec;p=ric-plt%2Fsubmgr.git diff --git a/pkg/control/types.go b/pkg/control/types.go index 3a9587f..08bcda4 100644 --- a/pkg/control/types.go +++ b/pkg/control/types.go @@ -20,31 +20,16 @@ package control import ( - "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp" + "gerrit.o-ran-sc.org/r/ric-plt/e2ap/pkg/e2ap" ) -type RmrDatagram struct { - MessageType int - SubscriptionId uint16 - Payload []byte +//----------------------------------------------------------------------------- +// +//----------------------------------------------------------------------------- +type RequestId struct { + e2ap.RequestId } -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 +func (rid *RequestId) String() string { + return "reqid(" + rid.RequestId.String() + ")" }