Package jline.api.sn

Class SnPollingExtension

java.lang.Object
jline.api.sn.SnPollingExtension

public final class SnPollingExtension extends Object
  • Method Details

    • snPollingExtension

      public static String snPollingExtension(NetworkStruct sn)
      The first polling extension a POLLING station of the model carries, as its registry name ("PollingTable", "PollingOrder" or "PollingTimer"), or "" if every polling station is a plain cyclic one. The three settings come from Queue.setPollingTable, setPollingOrder and setPollingTimer and live in sn.nodeparam (refreshStruct copies them only when set). Engines that read the polling type alone (the SSA NRM, the JMT writer) ask this predicate to refuse instead of answering the cyclic system.
      Parameters:
      sn - - NetworkStruct object for the queueing network model
      Returns:
      the extension name, or the empty string