The SendReceiveOptions type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
SendReceiveOptions(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
| |
SendReceiveOptions(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
|
Methods
Name | Description | |
---|---|---|
Clone |
Create a deep clone of this SendReceiveOptions object.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OptionsCompatible |
Determines whether the supplied SendReceiveOptions is compatible, from a serialization point of view, with this instance
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
DataProcessors |
Gets the DataProcessors that should be used when sending information. DataProcessors are applied in index order
| |
DataSerializer |
Gets the DataSerializer that should be used when sending information
| |
IncludePacketConstructionTime |
If true any packets sent with this SendReceiveOptions will include the packet creation time in the header.
| |
Options |
Gets the options that should be passed to the DataSerializer and DataProcessors on object serialization and deserialization
| |
ReceiveConfirmationRequired |
If true any packets sent with this SendReceiveOptions will be forced to trigger a receive confirmation.
| |
ReceiveHandlePriority |
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.
| |
UseNestedPacket |
If true any packets sent with this SendReceiveOptions will be nested which can be used to obscure the actual
packet type.
|
See Also