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

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
;
#[must_use] fn re_encrypt_device_queue_items<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ReEncryptDeviceQueueItemsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ReEncryptDeviceQueueItemsResponse>, 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, 
[src]

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, 
[src]

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, 
[src]

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, 
[src]

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, 
[src]

SetDeviceLocation updates the device-location for a device.

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

ReEncryptDeviceQueueItems requests the application-server to re-encrypt the given payload items using the new parameters. This request is for example triggered when the associated frame-counter of a downlink payload will be used by a mac-layer only payload, e.g. when the NS has mac-commands (or ACKs) to send to the device and combining this with an application-layer payload would exceed the max. payload size. Note there is no requirement that the number of returned items must be equal to the number of requested items.

Loading content...

Implementors

Loading content...