Skip to content

ClientMessagingOptions

class

Namespace: Orleans.Configuration

Specifies global messaging options that are client related.
public class ClientMessagingOptions : MessagingOptions

Constructors

Properties

  • ClientSenderBuckets Gets or sets the total number of grain buckets used by the client in client-to-gateway communication protocol. In this protocol, grains are mapped to buckets and buckets are mapped to gateway connections, in order to enable stickiness of grain to gateway (messages to the same grain go to the same gateway, while evenly spreading grains across gateways). This number should be about 10 to 100 times larger than the expected number of gateway connections. If this attribute is not specified, then Math.Pow(2, 13) is used.
  • LocalAddress Gets or sets the IP address used for cluster client.
  • NetworkInterfaceName Gets or sets the name of the network interface to use to work out an IP address for this machine.
  • PreferredFamily Gets or sets the preferred System.Net.Sockets.AddressFamily to be used when determining an appropriate client identity.

Fields