public RoomProvider(
     IServerHubContext hubContext,
     IMessageService messageService,
     IUserService userService)
 {
     rooms               = new List <RoomBase>();
     this.hubContext     = hubContext;
     this.messageService = messageService;
     this.userService    = userService;
 }
Beispiel #2
0
 public ServerHubCallerClientProxy(OperationContext operationContext, IServerHubContext context)
     : base(context)
 {
     this.operationContext = operationContext;
 }
Beispiel #3
0
 internal ServerHubClientProxy(IServerHubContext context)
 {
     this.context = context;
 }
Beispiel #4
0
 internal GroupInvoker(IServerHubContext context, IEnumerable <IPhotonWirePeer> peers)
 {
     this.proxies = peers.Select(x => Tuple.Create(x, TypedServerHubClientBuilder <T> .Build(context, (IS2SPhotonWirePeer)x)));
 }
 public static T Build(IServerHubContext context, IS2SPhotonWirePeer peer)
 {
     return(builder.Value(context, peer));
 }