예제 #1
0
 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);
 }
예제 #2
0
 /// <summary>
 /// Gets how many async completion workers were queueud
 /// </summary>
 public static long GetAsyncCompletionWorkerCount()
 {
     return(CompletionManager.GetAsyncCompletionWorkerCount());
 }