public PhysicalBridge(ServerEndPoint serverEndPoint, ConnectionType type) { ServerEndPoint = serverEndPoint; ConnectionType = type; Multiplexer = serverEndPoint.Multiplexer; Name = Format.ToString(serverEndPoint.EndPoint) + "/" + ConnectionType.ToString(); completionManager = new CompletionManager(Multiplexer, Name); }
/// <summary> /// Gets how many async completion workers were queueud /// </summary> public static long GetAsyncCompletionWorkerCount() { return(CompletionManager.GetAsyncCompletionWorkerCount()); }