MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / IntegrationTrait

Interface IntegrationTrait

chirpstack-integration/src/lib.rs:61–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60#[async_trait]
61pub trait IntegrationTrait {
62 async fn uplink_event(&self, pl: &integration_pb::UplinkEvent) -> Result<()>;
63
64 async fn join_event(&self, pl: &integration_pb::JoinEvent) -> Result<()>;
65
66 async fn ack_event(&self, pl: &integration_pb::AckEvent) -> Result<()>;
67
68 async fn txack_event(&self, pl: &integration_pb::TxAckEvent) -> Result<()>;
69
70 async fn log_event(&self, pl: &integration_pb::LogEvent) -> Result<()>;
71
72 async fn status_event(&self, pl: &integration_pb::StatusEvent) -> Result<()>;
73
74 async fn location_event(&self, pl: &integration_pb::LocationEvent) -> Result<()>;
75}
76
77struct Integration {
78 redis_client: RedisClient,

Callers

nothing calls this directly

Implementers 15

pilot_things.rschirpstack/src/integration/pilot_thing
thingsboard.rschirpstack/src/integration/thingsboard
mydevices.rschirpstack/src/integration/mydevices.r
azure_service_bus.rschirpstack/src/integration/azure_servi
gcp_pub_sub.rschirpstack/src/integration/gcp_pub_sub
mqtt.rschirpstack/src/integration/mqtt.rs
amqp.rschirpstack/src/integration/amqp.rs
mock.rschirpstack/src/integration/mock.rs
kafka.rschirpstack/src/integration/kafka.rs
aws_sns.rschirpstack/src/integration/aws_sns.rs
blynk.rschirpstack/src/integration/blynk.rs
http.rschirpstack/src/integration/http.rs

Calls

no outgoing calls

Tested by

no test coverage detected