[][src]Trait chirpstack_api::as_pb::application_server_service_server::ApplicationServerService

pub trait ApplicationServerService: Send + Sync + 'static {
#[must_use]    fn handle_uplink_data<'life0, 'async_trait>(
        &'life0 self,
        request: Request<HandleUplinkDataRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn handle_proprietary_uplink<'life0, 'async_trait>(
        &'life0 self,
        request: Request<HandleProprietaryUplinkRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn handle_error<'life0, 'async_trait>(
        &'life0 self,
        request: Request<HandleErrorRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn handle_downlink_ack<'life0, 'async_trait>(
        &'life0 self,
        request: Request<HandleDownlinkAckRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn handle_gateway_stats<'life0, 'async_trait>(
        &'life0 self,
        request: Request<HandleGatewayStatsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn handle_tx_ack<'life0, 'async_trait>(
        &'life0 self,
        request: Request<HandleTxAckRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn set_device_status<'life0, 'async_trait>(
        &'life0 self,
        request: Request<SetDeviceStatusRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn set_device_location<'life0, 'async_trait>(
        &'life0 self,
        request: Request<SetDeviceLocationRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Generated trait containing gRPC methods that should be implemented for use with ApplicationServerServiceServer.

Required methods

HandleUplinkData handles uplink data received from an end-device.

HandleProprietaryUplink handles proprietary uplink payloads.

#[must_use]fn handle_error<'life0, 'async_trait>(
    &'life0 self,
    request: Request<HandleErrorRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

HandleError handles an error message.

HandleDownlinkACK handles a downlink ACK or nACK response.

#[must_use]fn handle_gateway_stats<'life0, 'async_trait>(
    &'life0 self,
    request: Request<HandleGatewayStatsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

HandleGatewayStats handles the given gateway stats.

#[must_use]fn handle_tx_ack<'life0, 'async_trait>(
    &'life0 self,
    request: Request<HandleTxAckRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

HandleTXACK handles the TX acknowledgement.

#[must_use]fn set_device_status<'life0, 'async_trait>(
    &'life0 self,
    request: Request<SetDeviceStatusRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

SetDeviceStatus updates the device-status for a device.

#[must_use]fn set_device_location<'life0, 'async_trait>(
    &'life0 self,
    request: Request<SetDeviceLocationRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

SetDeviceLocation updates the device-location for a device.

Loading content...

Implementors

Loading content...