pub struct SedpSubscriptionsReader { /* private fields */ }Expand description
Reader fuer SEDP-Subscriptions (feste EntityId
EntityId::SEDP_BUILTIN_SUBSCRIPTIONS_READER).
Implementations§
Source§impl SedpSubscriptionsReader
impl SedpSubscriptionsReader
Sourcepub fn new(
participant_prefix: GuidPrefix,
vendor_id: VendorId,
remote_writer_prefix: GuidPrefix,
remote_metatraffic_unicast: Vec<Locator>,
) -> Self
pub fn new( participant_prefix: GuidPrefix, vendor_id: VendorId, remote_writer_prefix: GuidPrefix, remote_metatraffic_unicast: Vec<Locator>, ) -> Self
Erzeugt einen SEDP-Subscriptions-Reader.
Sourcepub fn add_writer_proxy(&mut self, proxy: WriterProxy)
pub fn add_writer_proxy(&mut self, proxy: WriterProxy)
Fuegt einen weiteren Remote-SEDP-Writer als Proxy hinzu.
Sourcepub fn remove_writer_proxy(&mut self, guid: Guid) -> Option<WriterProxy>
pub fn remove_writer_proxy(&mut self, guid: Guid) -> Option<WriterProxy>
Entfernt einen Remote-Writer.
Sourcepub fn handle_data(
&mut self,
data: &DataSubmessage,
) -> Result<Vec<SubscriptionBuiltinTopicData>, SedpReaderError>
pub fn handle_data( &mut self, data: &DataSubmessage, ) -> Result<Vec<SubscriptionBuiltinTopicData>, SedpReaderError>
Sourcepub fn handle_data_frag(
&mut self,
df: &DataFragSubmessage,
now: Duration,
) -> Result<Vec<SubscriptionBuiltinTopicData>, SedpReaderError>
pub fn handle_data_frag( &mut self, df: &DataFragSubmessage, now: Duration, ) -> Result<Vec<SubscriptionBuiltinTopicData>, SedpReaderError>
Sourcepub fn handle_gap(
&mut self,
gap: &GapSubmessage,
) -> Result<Vec<SubscriptionBuiltinTopicData>, SedpReaderError>
pub fn handle_gap( &mut self, gap: &GapSubmessage, ) -> Result<Vec<SubscriptionBuiltinTopicData>, SedpReaderError>
Sourcepub fn handle_heartbeat(&mut self, hb: &HeartbeatSubmessage, now: Duration)
pub fn handle_heartbeat(&mut self, hb: &HeartbeatSubmessage, now: Duration)
HEARTBEAT.
Sourcepub fn tick_outbound(
&mut self,
now: Duration,
) -> Result<Vec<OutboundDatagram>, WireError>
pub fn tick_outbound( &mut self, now: Duration, ) -> Result<Vec<OutboundDatagram>, WireError>
Sourcepub fn inner(&self) -> &ReliableReader
pub fn inner(&self) -> &ReliableReader
Read-only-Zugriff.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SedpSubscriptionsReader
impl RefUnwindSafe for SedpSubscriptionsReader
impl Send for SedpSubscriptionsReader
impl Sync for SedpSubscriptionsReader
impl Unpin for SedpSubscriptionsReader
impl UnsafeUnpin for SedpSubscriptionsReader
impl UnwindSafe for SedpSubscriptionsReader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more