public commandClient(fastCSharp.code.cSharp.tcpServer attribute, fastCSharp.code.cSharp.tcpBase.ITcpClientVerifyMethod <commandClient> verifyMethod) #endif { if (attribute == null) { log.Error.Throw(log.exceptionType.Null); } client = new commandClient <commandClient>(attribute, 1024, verifyMethod ?? new verifyMethod(), this); }
public sessionClient(int timeoutMinutes, int queueCount = 0, fastCSharp.code.cSharp.tcpServer attribute = null, fastCSharp.code.cSharp.tcpBase.ITcpClientVerifyMethod <session <valueType> .tcpClient> verifyMethod = null) #endif : base(attribute, verifyMethod) { queue = new fifoPriorityQueue <sessionId, valueType>(); this.queueCount = Math.Max(queueCount <= 0 ? fastCSharp.config.http.Default.ClientSessionQueueCount : queueCount, 1); }
protected commandLoadBalancingServer(fastCSharp.code.cSharp.tcpServer attribute, fastCSharp.code.cSharp.tcpBase.ITcpClientVerifyMethod <clientType> verifyMethod) #endif { this.attribute = attribute; _verifyMethod_ = verifyMethod; }
protected commandLoadBalancingServer(fastCSharp.code.cSharp.tcpServer attribute, fastCSharp.code.cSharp.tcpBase.ITcpClientVerifyMethod <clientType> verifyMethod, fastCSharp.code.cSharp.tcpBase.ITcpClientVerify verify) #endif { }