c1

package
v0.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService() (service.Service, error)

NewService returns a new device Service

Types

type Server

type Server struct {
}

Server implements the C1 gRPC service for administrative facilities.

ListStationLinks returns a stream of links between neighboring base stations.

func (Server) ListStations

ListStations returns a stream of base station records.

ListUELinks returns a stream of UI and base station links; one-time or (later) continuous subscribe.

func (Server) ListUEs added in v0.6.1

ListUEs returns a stream of UEs

func (Server) SetRadioPower

func (s Server) SetRadioPower(ctx context.Context, req *nb.RadioPowerRequest) (*nb.RadioPowerResponse, error)

SetRadioPower returns a response indicating success or failure.

func (Server) TriggerHandOver

func (s Server) TriggerHandOver(ctx context.Context, req *nb.HandOverRequest) (*nb.HandOverResponse, error)

TriggerHandOver returns a hand-over response indicating success or failure.

func (Server) TriggerHandOverStream

func (s Server) TriggerHandOverStream(stream nb.C1InterfaceService_TriggerHandOverStreamServer) error

TriggerHandOverStream is a version that stays open all the time.

type Service

type Service struct {
	service.Service
}

Service is an implementation of C1 service.

func (Service) Register

func (s Service) Register(r *grpc.Server)

Register registers the C1 Service with the gRPC server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL