예제 #1
0
 public static IFiber StartNew(IExecutor executor)
 {
     return(Fiber.StartNew(FiberType.Thread, executor));
 }
예제 #2
0
 public static IFiber StartNew()
 {
     return(Fiber.StartNew(FiberType.Thread));
 }
예제 #3
0
 public static IFiber StartNew(IExecutor exec)
 {
     return(Fiber.StartNew(FiberType.Pool, exec));
 }
예제 #4
0
 protected RequestAgentBase(FiberType type = FiberType.Pool)
 {
     _fiber   = Fiber.StartNew(type);
     _channel = _fiber.NewRequestPort <TRequest, TReply>(Handle);
 }
예제 #5
0
 public static IFiber StartNew()
 {
     return(Fiber.StartNew(FiberType.Pool));
 }