X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fcontrol%2Ftypes.go;h=08bcda4360c2878d3d39939da73b7357a3738044;hb=7348625b9ef03d41dd5a0ca0f6c508376259717e;hp=1a2c92fd5084363c2a1762960e4580a0a6aaa3cb;hpb=93cc3e245f87798c8753209980817727e0648401;p=ric-plt%2Fsubmgr.git diff --git a/pkg/control/types.go b/pkg/control/types.go index 1a2c92f..08bcda4 100644 --- a/pkg/control/types.go +++ b/pkg/control/types.go @@ -19,29 +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 RequestId struct { + e2ap.RequestId } -type subRouteInfo struct { - Command Action - Address string - Port uint16 - SubID uint16 -} - -type Action int - -type Transaction_key struct { - SubID uint16 - trans_type Action -} - -type Transaction struct { -// Xapp_address string - Xapp_instance_address string - Xapp_port uint16 - Ric_sub_req []byte +func (rid *RequestId) String() string { + return "reqid(" + rid.RequestId.String() + ")" }