X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=pkg%2Fsbi%2Ftypes.go;h=094a8adc2c19655b727f3b8e59b09cc04550ac96;hb=e27ecb21e2be4644bfc0da5b1e8670f4dd1f9c81;hp=d0a98abb65204d764f0c207f92260eb519fbaeb0;hpb=aaf8d396257a455247b24716a32b05fc3fd145c2;p=ric-plt%2Frtmgr.git diff --git a/pkg/sbi/types.go b/pkg/sbi/types.go index d0a98ab..094a8ad 100644 --- a/pkg/sbi/types.go +++ b/pkg/sbi/types.go @@ -14,6 +14,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + This source code is part of the near-RT RIC (RAN Intelligent Controller) + platform project (RICP). + ================================================================================== */ /* @@ -41,13 +45,16 @@ type Engine interface { AddEndpoint(*rtmgr.Endpoint) error DeleteEndpoint(*rtmgr.Endpoint) error UpdateEndpoints(*rtmgr.RicComponents) + CheckEndpoint(string) *rtmgr.Endpoint + CreateEndpoint(string) (*string, int) + DistributeToEp(*[]string, string, int) 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)*/