pub struct VolatileSecureMessageReader { /* private fields */ }Expand description
Reader fuer DCPSParticipantVolatileMessageSecure.
Implementations§
Source§impl VolatileSecureMessageReader
impl VolatileSecureMessageReader
Sourcepub fn new(participant_prefix: GuidPrefix, vendor_id: VendorId) -> Self
pub fn new(participant_prefix: GuidPrefix, vendor_id: VendorId) -> Self
Erzeugt einen Reader fuer den lokalen Participant.
Sourcepub fn writer_proxy_count(&self) -> usize
pub fn writer_proxy_count(&self) -> usize
Anzahl registrierter Writer-Proxies.
Sourcepub fn inner(&self) -> &ReliableReader
pub fn inner(&self) -> &ReliableReader
Read-only-Zugriff auf den ReliableReader (Tests/Diagnose).
Sourcepub fn add_writer_proxy(&mut self, proxy: WriterProxy)
pub fn add_writer_proxy(&mut self, proxy: WriterProxy)
Fuegt einen Writer-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 Writer-Proxy.
Sourcepub fn handle_data(
&mut self,
data: &DataSubmessage,
) -> SecurityResult<Vec<ParticipantGenericMessage>>
pub fn handle_data( &mut self, data: &DataSubmessage, ) -> SecurityResult<Vec<ParticipantGenericMessage>>
Verarbeitet eine eingehende DATA-Submessage und liefert dekodierte Generic-Messages.
§Errors
BadArgument wenn die Encapsulation/CDR-Decode scheitert.
Sourcepub fn handle_data_frag(
&mut self,
df: &DataFragSubmessage,
now: Duration,
) -> SecurityResult<Vec<ParticipantGenericMessage>>
pub fn handle_data_frag( &mut self, df: &DataFragSubmessage, now: Duration, ) -> SecurityResult<Vec<ParticipantGenericMessage>>
Sourcepub fn handle_gap(
&mut self,
gap: &GapSubmessage,
) -> SecurityResult<Vec<ParticipantGenericMessage>>
pub fn handle_gap( &mut self, gap: &GapSubmessage, ) -> SecurityResult<Vec<ParticipantGenericMessage>>
Sourcepub fn handle_heartbeat(&mut self, hb: &HeartbeatSubmessage, now: Duration)
pub fn handle_heartbeat(&mut self, hb: &HeartbeatSubmessage, now: Duration)
HEARTBEAT verarbeiten.
Sourcepub fn tick_outbound(
&mut self,
now: Duration,
) -> Result<Vec<OutboundDatagram>, WireError>
pub fn tick_outbound( &mut self, now: Duration, ) -> Result<Vec<OutboundDatagram>, WireError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VolatileSecureMessageReader
impl RefUnwindSafe for VolatileSecureMessageReader
impl Send for VolatileSecureMessageReader
impl Sync for VolatileSecureMessageReader
impl Unpin for VolatileSecureMessageReader
impl UnsafeUnpin for VolatileSecureMessageReader
impl UnwindSafe for VolatileSecureMessageReader
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