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.NetMessageEventArgsIPacketReader
        Demo3D.NetPacketChangedEventArgs

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
public class PacketChangedEventArgs : MessageEventArgs<IPacketReader>

The PacketChangedEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodPacketChangedEventArgs
Creates PacketChangedEventArgs.
Top
Methods
  NameDescription
Public methodTryGetPacket
Gets the message received from the network that caused this event to be raised. Returns null if the message has already been read from the socket.
(Inherited from MessageEventArgsMessageType.)
Public methodTryPeekPacket
Gets the message received from the network that caused this event to be raised. Returns null if the message has already been read from the socket.
(Inherited from MessageEventArgsMessageType.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetData
Gets the packet received from the network that caused this event to be raised. Throws an exception if the packet has already been read from the socket.
(Defined by PacketChangedEventArgsExtensions.)
Public Extension MethodGetPacket
Gets the packet received from the network that caused this event to be raised. Throws an exception if the packet has already been read from the socket.
(Defined by PacketChangedEventArgsExtensions.)
Public Extension MethodTryGetData
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.
(Defined by PacketChangedEventArgsExtensions.)
Top
See Also