Пример #1
0
 public FileServerComm(string fileServerGroupName)
 {
     groupName       = fileServerGroupName;
     fileServerGroup = new Group(groupName);
     fileHandler     = new FileOperation();
     oobhandler      = new OOBHandler();
     bootstrap       = new BootStrap();
     transManager    = new TransactionManager();
 }
Пример #2
0
        public void setBootStrappingTimer(Group _group, BootStrap _parent)
        {
            group  = _group;
            parent = _parent;

            bootStrappingTimer           = new System.Timers.Timer(BOOTSTRAPWAIT_TIME);
            bootStrappingTimer.Elapsed  += new ElapsedEventHandler((sender, e) => BootStrappingTimedOutEvent(sender, e, this));
            bootStrappingTimer.AutoReset = false;
            bootStrappingTimer.Enabled   = true;
        }
Пример #3
0
 public FileServerComm(string fileServerGroupName)
 {
     groupName = fileServerGroupName;
     fileServerGroup = new Group (groupName);
     fileHandler = new FileOperation ();
     oobhandler = new OOBHandler ();
     bootstrap = new BootStrap ();
     transManager = new TransactionManager();
 }
Пример #4
0
        public void setBootStrappingTimer(Group _group, BootStrap _parent)
        {
            group = _group;
            parent = _parent;

            bootStrappingTimer = new System.Timers.Timer(BOOTSTRAPWAIT_TIME);
            bootStrappingTimer.Elapsed += new ElapsedEventHandler((sender, e) => BootStrappingTimedOutEvent(sender, e, this));
            bootStrappingTimer.AutoReset = false;
            bootStrappingTimer.Enabled = true;
        }