SendReceiveOptions MembersNetworkComms.Net Help
The SendReceiveOptions type exposes the following members.
Constructors

  NameDescription
Public methodSendReceiveOptions(Dictionary String, String )
Initializes a new instance of the SendReceiveOptions class providing only options for the DataSerializer and DataProcessors. This constructor should only be used when adding packet handlers for incoming connections
Public methodSendReceiveOptions(DataSerializer, List DataProcessor , Dictionary String, String )
Initializes a new instance of the SendReceiveOptions class with a specified DataSerializer, set of DataProcessors and and other options
Back to Top
Methods

  NameDescription
Public methodClone
Create a deep clone of this SendReceiveOptions object.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOptionsCompatible
Determines whether the supplied SendReceiveOptions is compatible, from a serialization point of view, with this instance
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyDataProcessors
Gets the DataProcessors that should be used when sending information. DataProcessors are applied in index order
Public propertyDataSerializer
Gets the DataSerializer that should be used when sending information
Public propertyIncludePacketConstructionTime
If true any packets sent with this SendReceiveOptions will include the packet creation time in the header.
Public propertyOptions
Gets the options that should be passed to the DataSerializer and DataProcessors on object serialization and deserialization
Public propertyReceiveConfirmationRequired
If true any packets sent with this SendReceiveOptions will be forced to trigger a receive confirmation.
Public propertyReceiveHandlePriority
Incoming packets are handled using a flexible QueueItemPriority (Default - QueueItemPriority.Normal). Reserved internal packet types and packets marked with QueueItemPriority.Highest are not enqueued but handled in real time by the thread handling the incoming data. You are free to specify the queue item priority for packet handlers using this SendReceiveOptions by setting this value as desired. CAUTION: Only use QueueItemPriority.Highest sparingly.
Public propertyUseNestedPacket
If true any packets sent with this SendReceiveOptions will be nested which can be used to obscure the actual packet type.
Back to Top
See Also