Пример #1
0
 public bool TryDeliverToProxy(Message msg)
 {
     return(msg.TargetGrain.IsClient && Gateway != null && Gateway.TryDeliverToProxy(msg));
 }
Пример #2
0
 public void InstallGateway(IPEndPoint gatewayAddress)
 {
     Gateway = new Gateway(this, gatewayAddress);
 }
Пример #3
0
 internal GatewayClientCleanupAgent(Gateway gateway)
 {
     this.gateway = gateway;
 }
Пример #4
0
 internal GatewayClientCleanupAgent(Gateway gateway, ILoggerFactory loggerFactory, TimeSpan clientDropTimeout)
     : base(loggerFactory)
 {
     this.gateway           = gateway;
     this.clientDropTimeout = clientDropTimeout;
 }
Пример #5
0
 internal GatewayClientCleanupAgent(Gateway gateway, ExecutorService executorService, ILoggerFactory loggerFactory, TimeSpan clientDropTimeout)
     : base(executorService, loggerFactory)
 {
     this.gateway           = gateway;
     this.clientDropTimeout = clientDropTimeout;
 }
Пример #6
0
 internal GatewayClientCleanupAgent(Gateway gateway, ILoggerFactory loggerFactory)
     : base(loggerFactory)
 {
     this.gateway = gateway;
 }