本文整理汇总了C#中IConfiguration.ClientServer方法的典型用法代码示例。如果您正苦于以下问题:C# IConfiguration.ClientServer方法的具体用法?C# IConfiguration.ClientServer怎么用?C# IConfiguration.ClientServer使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IConfiguration
的用法示例。
在下文中一共展示了IConfiguration.ClientServer方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Configure
// first - prefetchDepth
// second - expected number of messages exchanged
/// <exception cref="System.Exception"></exception>
protected override void Configure(IConfiguration config)
{
config.ClientServer().PrefetchDepth(PrefetchDepth());
}
示例2: Configure
/// <exception cref="System.Exception"></exception>
protected override void Configure(IConfiguration config)
{
config.ClientServer().BatchMessages(false);
}
示例3: Configure
/// <exception cref="System.Exception"></exception>
protected override void Configure(IConfiguration config)
{
config.ClientServer().PrefetchIDCount(1);
config.ClientServer().BatchMessages(false);
config.BTreeNodeSize(4);
}
示例4: Configure
protected override void Configure(IConfiguration config)
{
config.ClientServer().TimeoutClientSocket(1);
config.ClientServer().TimeoutServerSocket(1);
}
示例5: SetMessageRecipient
private void SetMessageRecipient(IConfiguration config, IMessageRecipient recipient
)
{
config.ClientServer().SetMessageRecipient(recipient);
}
示例6: Configure
/// <exception cref="System.Exception"></exception>
protected override void Configure(IConfiguration config)
{
config.ClientServer().PrefetchObjectCount(0);
}