Package org.cipango.console.printer.generic

Examples of org.cipango.console.printer.generic.SetPrinter


    for (int i = 0; i < transports.length; i++)
      add(new PropertiesPrinter(transports[i], "diameter.stats.msg",  _connection));
   
    @SuppressWarnings("unchecked")
    Set<ObjectName> peers = _connection.queryNames(ConsoleFilter.DIAMETER_PEERS, null);
    add(new SetPrinter(peers, "diameter.stats.pending", _connection));
  }
View Full Code Here


          format.setMaximumFractionDigits(2);
          value.setValue(format.format(value.getValue()));
       
      }
    }
    add(new SetPrinter(table));
   
    if (time == null)
      _time = STATS_TIME_VALUE[1];
    else
      _time = time; 
View Full Code Here

  {
    ObjectName[] sipContexts = PrinterUtil.getSipAppContexts(connection);
   
    Table contextsTable = new Table(connection, sipContexts, "appContexts");

    add(new SetPrinter(contextsTable));
   
    ObjectName[] otherContexts = PrinterUtil.getNonSipAppContexts(connection);
    if (otherContexts != null && otherContexts.length > 0)
    {
      Table otherContextsTable = new Table(connection, otherContexts, "otherContexts");
View Full Code Here

        request.setAttribute(Attributes.CONTENT, new DiameterLogPrinter(_mbsc, request, Output.HTML));
      else if (command.equals(MenuPrinter.CONFIG_SNMP.getName()))
      {
        MultiplePrinter printer = new MultiplePrinter();
        ObjectName[] connectors = (ObjectName[]) _mbsc.getAttribute(SNMP_AGENT, "connectors");
        printer.add(new SetPrinter(connectors, "snmp.connectors", _mbsc));
       
        ObjectName[] traps = (ObjectName[]) _mbsc.getAttribute(SNMP_AGENT, "trapReceivers");
        printer.add(new SetPrinter(traps, "snmp.trap", _mbsc));
        request.setAttribute(Attributes.CONTENT, printer);
      }
      else if (command.equals(MenuPrinter.CALLS.getName()))
        request.setAttribute(Attributes.CONTENT, new CallsPrinter(_mbsc, request.getParameter("callID")));
      else if (command.equals("message.log"))
View Full Code Here

  private void doSipConfig(HttpServletRequest request) throws Exception
  {
    MultiplePrinter printer = new MultiplePrinter();
    ObjectName[] connectors = (ObjectName[]) _mbsc.getAttribute(ConsoleFilter.CONNECTOR_MANAGER, "connectors");

    printer.add(new SetPrinter(connectors, "sip.connectors", _mbsc));
    ObjectName threadPool = (ObjectName) _mbsc.getAttribute(
        ConsoleFilter.SERVER, "sipThreadPool");
   
    PropertyList properties = new PropertyList(_mbsc, threadPool, "sip.threadPool");
    for (Property property : properties)
View Full Code Here

    MultiplePrinter printer = new MultiplePrinter();
    printer.add(new PropertiesPrinter(DIAMETER_NODE, "diameter.node",  _mbsc));
   
    ObjectName[] transports = (ObjectName[]) _mbsc.getAttribute(
        ConsoleFilter.DIAMETER_NODE, "connectors");
    printer.add(new SetPrinter(transports, "diameter.transport", _mbsc));
   
    printer.add(new PropertiesPrinter(DIAMETER_NODE, "diameter.timers",  _mbsc));

    @SuppressWarnings("unchecked")
    Set<ObjectName> peers = _mbsc.queryNames(ConsoleFilter.DIAMETER_PEERS, null);
    printer.add(new SetPrinter(peers, "diameter.peers", _mbsc))
         
    request.setAttribute(Attributes.CONTENT, printer);
  }
View Full Code Here

  throws Exception
  {   
    MultiplePrinter printer = new MultiplePrinter();
    ObjectName[] connectors = (ObjectName[]) _mbsc.getAttribute(SERVER, "connectors");
 
    printer.add(new SetPrinter(connectors, "http.connectors", _mbsc));
   
    ObjectName threadPool = (ObjectName) _mbsc.getAttribute(
        ConsoleFilter.SERVER, "threadPool");
    PropertyList properties = new PropertyList(_mbsc, threadPool, "http.threadPool");
    for (Property property : properties)
View Full Code Here

TOP

Related Classes of org.cipango.console.printer.generic.SetPrinter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.