RIC-851: Updated rtmgr to create xapp routes
[ric-plt/rtmgr.git] / pkg / sbi / types.go
index 9e6fe02..094a8ad 100644 (file)
@@ -45,8 +45,9 @@ type Engine interface {
        AddEndpoint(*rtmgr.Endpoint) error
        DeleteEndpoint(*rtmgr.Endpoint) error
        UpdateEndpoints(*rtmgr.RicComponents)
-       CreateEndpoint(string,string)*rtmgr.Endpoint
-       DistributeToEp(*[]string, *rtmgr.Endpoint) error
+       CheckEndpoint(string) *rtmgr.Endpoint
+       CreateEndpoint(string) (*string, int)
+       DistributeToEp(*[]string, string, int) error
 }
 
 /*type NngSocket interface {