X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fsbi%2Ftypes.go;h=9e6fe02fa512bbed156fa1d04a2a65b5a2afdfd8;hb=2037469c7f636b15cc069694b5e7a63cb230ec9a;hp=d024e9414afb88125895dddd5e768a3dba12be03;hpb=45b86cc64dc6071f160b0f2c9ab8dfb57d1ce039;p=ric-plt%2Frtmgr.git diff --git a/pkg/sbi/types.go b/pkg/sbi/types.go index d024e94..9e6fe02 100644 --- a/pkg/sbi/types.go +++ b/pkg/sbi/types.go @@ -45,13 +45,15 @@ type Engine interface { AddEndpoint(*rtmgr.Endpoint) error DeleteEndpoint(*rtmgr.Endpoint) error UpdateEndpoints(*rtmgr.RicComponents) + CreateEndpoint(string,string)*rtmgr.Endpoint + DistributeToEp(*[]string, *rtmgr.Endpoint) error } -type NngSocket interface { +/*type NngSocket interface { Listen(string) error Send([]byte) error Close() error DialOptions(string, map[string]interface{}) error } -type CreateNewNngSocketHandler func() (NngSocket, error) +type CreateNewNngSocketHandler func() (NngSocket, error)*/