public LBMRoundRobinXSPEntry(int i) { index = i; xsp = null; running = false; dispatchThread = null; }
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); }