示例#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;
        }
 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;
        }