Click or drag to resize

PacketChangedEventArgs Class

Arguments to the IPacketIOServiceDataChanged event. Contains information about the packet received that caused the event to be raised.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Demo3D.NetNotifyDataChangedEventArgs
      Demo3D.NetPacketChangedEventArgs

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 11.0.0.7658
Syntax
C#
public abstract class PacketChangedEventArgs : NotifyDataChangedEventArgs

The PacketChangedEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodPacketChangedEventArgs
Creates PacketChangedEventArgs with the current time of the event.
Public methodPacketChangedEventArgs(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.
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.
Top
See Also