Click or drag to resize

IPacketIOService Interface

Protocol packet and stream IO service. IPacketIOService INotifyDataChanged.DataChanged events will pass PacketChangedEventArgs.

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
C#
public interface IPacketIOService : INotifyDataChanged

The IPacketIOService type exposes the following members.

Properties
  NameDescription
Public propertyPduSize
Gets the PDU size (or -1 for byte streams).
Top
Methods
  NameDescription
Public methodAddDataChanged
Add a handler for the DataChanged event.
(Inherited from INotifyDataChanged.)
Public methodRead
Gets a data buffer for reading.
Public methodReadAsync
Gets a data buffer for reading.
Public methodRemoveDataChanged
Remove a handler from the DataChanged event.
(Inherited from INotifyDataChanged.)
Public methodWrite
Gets a data buffer for writing.
Top
Events
  NameDescription
Public eventDataChanged
Occurs when data has arrived or changed.
(Inherited from INotifyDataChanged.)
Top
Extension Methods
  NameDescription
Public Extension MethodCode exampleGetDataChangedNotifier
Subscribes to data changed events and returns a DataChangedNotifier.
(Defined by NotifyDataChanged.)
Public Extension MethodRead
Gets a data buffer for reading.
(Defined by PacketIOService.)
Public Extension MethodReadAsync
Gets a data buffer for reading.
(Defined by PacketIOService.)
Public Extension MethodWrite
Gets a data buffer for writing.
(Defined by PacketIOService.)
Top
See Also