Documentation ¶
Index ¶
- func NewService() (service.Service, error)
- type Server
- func (s Server) ListStationLinks(req *nb.StationLinkListRequest, ...) error
- func (s Server) ListStations(req *nb.StationListRequest, stream nb.C1InterfaceService_ListStationsServer) error
- func (s Server) ListUELinks(req *nb.UELinkListRequest, stream nb.C1InterfaceService_ListUELinksServer) error
- func (s Server) ListUEs(req *nb.UEListRequest, stream nb.C1InterfaceService_ListUEsServer) error
- func (s Server) SetRadioPower(ctx context.Context, req *nb.RadioPowerRequest) (*nb.RadioPowerResponse, error)
- func (s Server) TriggerHandOver(ctx context.Context, req *nb.HandOverRequest) (*nb.HandOverResponse, error)
- func (s Server) TriggerHandOverStream(stream nb.C1InterfaceService_TriggerHandOverStreamServer) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
NewService returns a new device Service
Types ¶
type Server ¶
type Server struct { }
Server implements the C1 gRPC service for administrative facilities.
func (Server) ListStationLinks ¶
func (s Server) ListStationLinks(req *nb.StationLinkListRequest, stream nb.C1InterfaceService_ListStationLinksServer) error
ListStationLinks returns a stream of links between neighboring base stations.
func (Server) ListStations ¶
func (s Server) ListStations(req *nb.StationListRequest, stream nb.C1InterfaceService_ListStationsServer) error
ListStations returns a stream of base station records.
func (Server) ListUELinks ¶
func (s Server) ListUELinks(req *nb.UELinkListRequest, stream nb.C1InterfaceService_ListUELinksServer) error
ListUELinks returns a stream of UI and base station links; one-time or (later) continuous subscribe.
func (Server) ListUEs ¶ added in v0.6.1
func (s Server) ListUEs(req *nb.UEListRequest, stream nb.C1InterfaceService_ListUEsServer) error
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.
Click to show internal directories.
Click to hide internal directories.