Click or drag to resize

UdpPacketArgs Class

Arguments to the IUdpIOServiceDataChanged event for UDP packets. Contains information about the packet received that caused the event to be raised.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Demo3D.NetNotifyDataChangedEventArgs
      Demo3D.NetPacketChangedEventArgs
        PacketEventArgsUdpPacketReader
          Demo3D.Net.ProtocolsUdpPacketArgs

Namespace:  Demo3D.Net.Protocols
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 11.0.0.7658
Syntax
C#
public class UdpPacketArgs : PacketEventArgs<UdpPacketReader>

The UdpPacketArgs type exposes the following members.

Constructors
  NameDescription
Public methodUdpPacketArgs(UdpPacketReader)
Creates a PacketChangedEventArgs.
Public methodUdpPacketArgs(UdpPacketReader, DateTime)
Creates a PacketChangedEventArgs with the recorded time of the event.
Top
Properties
  NameDescription
Public propertyTime
The time of the event (UTC).
(Inherited from NotifyDataChangedEventArgs.)
Top
Methods
  NameDescription
Public methodGetPacket
Gets the packet received from the network that caused this event to be raised. Throws and exception if the packet has already been read from the socket.
(Inherited from PacketChangedEventArgs.)
Public methodTryGetPacket
Gets the packet received from the network that caused this event to be raised. Returns null if the packet has already been read from the socket.
(Overrides PacketChangedEventArgsTryGetPacket.)
Top
See Also