X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fcontrol%2Ftypes.go;h=22c8bc47756da68379fdba60dae587f258b6ef98;hb=d13ba63c1c237882202fc975d70ed5ad21a48fcf;hp=93cddb04c64c0d20563a814bb33b0b8ff0964315;hpb=40a8b1be512bd1dc42a681685980c4ac99b298a4;p=ric-plt%2Fsubmgr.git diff --git a/pkg/control/types.go b/pkg/control/types.go index 93cddb0..22c8bc4 100644 --- a/pkg/control/types.go +++ b/pkg/control/types.go @@ -23,6 +23,7 @@ import ( "time" "gerrit.o-ran-sc.org/r/ric-plt/e2ap/pkg/e2ap" + "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp" ) //----------------------------------------------------------------------------- @@ -71,3 +72,10 @@ func (e *ErrorInfo) SetInfo(errorCause string, errorSource string, timeoutType s e.ErrorSource = errorSource e.TimeoutType = timeoutType } + +type XappRnibInterface interface { + XappRnibSubscribe(cb func(string, ...string), channel string) error + XappRnibGetListGnbIds() ([]*xapp.RNIBNbIdentity, xapp.RNIBIRNibError) + XappRnibStoreAndPublish(channel string, event string, pairs ...interface{}) error + XappRnibGetNodeb(inventoryName string) (*xapp.RNIBNodebInfo, xapp.RNIBIRNibError) +}