X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fnbi%2Ftypes.go;h=722289ed8b24b52a4d0f9fbd39e961253e3d6b6d;hb=bce67475ab8f92b42841dba561fff27b7d239820;hp=085486c943c5fd3b445c9e944292091945a765c8;hpb=e110ee0d197cd7d61faf4ad761ebad3bf0c68121;p=ric-plt%2Frtmgr.git diff --git a/pkg/nbi/types.go b/pkg/nbi/types.go index 085486c..722289e 100644 --- a/pkg/nbi/types.go +++ b/pkg/nbi/types.go @@ -39,10 +39,10 @@ import ( type FetchAllXAppsHandler func(string) (*[]rtmgr.XApp, error) type RecvXappCallbackDataHandler func(<-chan *models.XappCallbackData) (*[]rtmgr.XApp, error) -type RecvNewE2TdataHandler func(<-chan *models.E2tData) (*rtmgr.E2TInstance, error) -type LaunchRestHandler func(*string, chan<- *models.XappCallbackData, chan<- *models.XappSubscriptionData, chan<- *models.XappSubscriptionData, chan<- *models.E2tData, chan<- models.RanE2tMap, chan<- models.RanE2tMap, chan<- *models.E2tDeleteData) +type RecvNewE2TdataHandler func(<-chan *models.E2tData) (*rtmgr.E2TInstance, string, error) +type LaunchRestHandler func(*string) type ProvideXappHandleHandlerImpl func(chan<- *models.XappCallbackData, *models.XappCallbackData) error -type RetrieveStartupDataHandler func(string, string, string, string, sdl.Engine) error +type RetrieveStartupDataHandler func(string, string, string, string, string, sdl.Engine) error type EngineConfig struct { Name string @@ -53,6 +53,6 @@ type EngineConfig struct { } type Engine interface { - Initialize(string, string, string, string, sdl.Engine, rpe.Engine, chan<- bool, *sync.Mutex) error + Initialize(string, string, string, string, string, sdl.Engine, rpe.Engine, *sync.Mutex) error Terminate() error }