예제 #1
0
 public BootStrap()
 {
     Logger.Debug("BootStrapping, This should be Fun");
     waitBootStrap = new Semaphore(0, 1);
     state         = new BootStrappingState();
     fileSystem    = new InMemoryFileSystem(true);
 }
예제 #2
0
 public BootStrap()
 {
     Logger.Debug ("BootStrapping, This should be Fun");
     waitBootStrap = new Semaphore(0,1);
     state = new BootStrappingState();
     fileSystem = new InMemoryFileSystem (true);
 }
예제 #3
0
        private static void BootStrappingTimedOutEvent(object source, ElapsedEventArgs e, BootStrappingState state)
        {
            Logger.Debug ("BootStrappingTimedOutEvent No Response Receieved :) Try Again :)");
            state.numberOfRetries = state.numberOfRetries + 1;

            state.parent.resetBootStrappingState ();
            state.parent.sendBootStrappingRequest(state.group, state.selectedNode);
        }
예제 #4
0
        private static void BootStrappingTimedOutEvent(object source, ElapsedEventArgs e, BootStrappingState state)
        {
            Logger.Debug("BootStrappingTimedOutEvent No Response Receieved :) Try Again :)");
            state.numberOfRetries = state.numberOfRetries + 1;

            state.parent.resetBootStrappingState();
            state.parent.sendBootStrappingRequest(state.group, state.selectedNode);
        }