コード例 #1
0
ファイル: AllTests.cs プロジェクト: bholl/zeroc-ice
 public SessionKeepAliveThread(IceGrid.AdminSessionPrx session, int timeout)
 {
     _session = session;
     _timeout = timeout;
     _terminated = false;
 }
コード例 #2
0
ファイル: DiscoveryPluginI.cs プロジェクト: pedia/zeroc-ice
 LocatorI(LookupPrx lookup, Ice.Properties properties, string instanceName, IceGrid.LocatorPrx voidLocator)
 {
     _lookup = lookup;
     _timeout = properties.getPropertyAsIntWithDefault("IceGridDiscovery.Timeout", 300);
     _retryCount = properties.getPropertyAsIntWithDefault("IceGridDiscovery.RetryCount", 3);
     _retryDelay = properties.getPropertyAsIntWithDefault("IceGridDiscovery.RetryDelay", 2000);
     _timer = IceInternal.Util.getInstance(lookup.ice_getCommunicator()).timer();
     _instanceName = instanceName;
     _warned = false;
     _locator = lookup.ice_getCommunicator().getDefaultLocator();
     _voidLocator = voidLocator;
     _pendingRetryCount = 0;
 }