Пример #1
0
 public LBMRoundRobinXSPEntry(int i)
 {
     index          = i;
     xsp            = null;
     running        = false;
     dispatchThread = null;
 }
Пример #2
0
        public static int onZeroTransports(LBMXSP xsp, Object cbArg)
        {
            LBMRoundRobinXSPEntry entry = (LBMRoundRobinXSPEntry)cbArg;

            System.Console.Out.WriteLine("The number of transports has dropped to zero on the XSP at index: " + entry.index);
            if (defer_xsp_deletion)
            {
                /* since we're deferring the deletion of the XSP, we don't have to do anything here */
            }
            else
            {
                deleteXSP(entry);
            }

            return(0);
        }