4 "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp"
\r
5 rc "gerrit.o-ran-sc.org/r/ric-app/rc/protocol/grpc/ricmsgcommrpc/rc"
\r
9 const MAX_CONTROL_REQ_ATTEMPTS = 2
\r
10 const RIC_CONTROL_STYLE_TYPE = 3
\r
11 const RIC_CONTROL_ACTION_ID = 1
\r
13 const TIME_NANOSEC = 1000000000
\r
15 const RIC_CONTROL_TARGET_PRIMARY_CELL = 1
\r
16 const RIC_CONTROL_TARGET_CELL = 2
\r
17 const RIC_CONTROL_CELL_TYPE = 3
\r
18 const RIC_CONTROL_CGI_TYPE = 4
\r
21 const GRPC_SUCCESS = 0
\r
22 const GRPC_ERROR = -1
\r
24 type Control struct {
\r
25 eventRicControlReqTimePeriod int32 //maximum time for the RIC Subscription Request event creation procedure in the E2 Node
\r
26 rcChan chan *xapp.RMRParams //channel for receiving rmr message
\r
27 eventRicControlReqExpiredMap map[int]bool //map for recording the RIC Subscription Request event creation procedure is expired or not
\r
28 eventRicControlReqExpiredMu *sync.Mutex //mutex for eventCreateExpiredMap
\r
29 ricRequestInstanceID int
\r
32 type RicHoControlMsg struct {
\r
33 RicControlGrpcReqPtr *rc.RicControlGrpcReq
\r