X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fhandlers%2Frmrmsghandlers%2Fnotification_handler.go;fp=E2Manager%2Fhandlers%2Frmrmsghandlers%2Fnotification_handler.go;h=ae25dde2f0958d8ccffc28f209980517deb6a7c8;hb=0e58b60a82f5912f815be9292fe0c072a80b79a7;hp=a44b9651e4bb15ac5e4472eb390d30326cb504f2;hpb=1ec13d4076e7c7abefac6176462c1fee31229213;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/handlers/rmrmsghandlers/notification_handler.go b/E2Manager/handlers/rmrmsghandlers/notification_handler.go index a44b965..ae25dde 100644 --- a/E2Manager/handlers/rmrmsghandlers/notification_handler.go +++ b/E2Manager/handlers/rmrmsghandlers/notification_handler.go @@ -21,8 +21,14 @@ import ( "e2mgr/logger" "e2mgr/models" "e2mgr/sessions" + "time" ) type NotificationHandler interface { Handle(*logger.Logger, sessions.E2Sessions, *models.NotificationRequest, chan<- *models.NotificationResponse) } + +//TODO: remove that +func printHandlingSetupResponseElapsedTimeInMs(logger *logger.Logger, msg string, startTime time.Time) { + logger.Infof("%s: %f ms", msg, float64(time.Since(startTime))/float64(time.Millisecond)) +} \ No newline at end of file