X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fcontrol%2Ftypes.go;h=08bcda4360c2878d3d39939da73b7357a3738044;hb=7348625b9ef03d41dd5a0ca0f6c508376259717e;hp=83312d8b36d1e909b9de858f1f057527073a62ca;hpb=379ff082446038f3dee0f22d4f79c0965e9da25a;p=ric-plt%2Fsubmgr.git diff --git a/pkg/control/types.go b/pkg/control/types.go index 83312d8..08bcda4 100644 --- a/pkg/control/types.go +++ b/pkg/control/types.go @@ -19,17 +19,17 @@ package control -type RmrDatagram struct { - MessageType int - SubscriptionId uint16 - Payload []byte -} +import ( + "gerrit.o-ran-sc.org/r/ric-plt/e2ap/pkg/e2ap" +) -type SubRouteInfo struct { - Command Action - Address string - Port uint16 - SubID uint16 +//----------------------------------------------------------------------------- +// +//----------------------------------------------------------------------------- +type RequestId struct { + e2ap.RequestId } -type Action int +func (rid *RequestId) String() string { + return "reqid(" + rid.RequestId.String() + ")" +}