Publish Route only once to the endpoint that requests it. Periodic/Event based distri...
[ric-plt/rtmgr.git] / pkg / sbi / types.go
index 9e6fe02..b52dcfa 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
+       CreateEndpoint(string)(*string,int)
+       CheckEndpoint(string)*rtmgr.Endpoint
+       DistributeToEp(*[]string, string, int ) error
 }
 
 /*type NngSocket interface {