Package org.cipango.console.printer.logs.SipLogPrinter

Examples of org.cipango.console.printer.logs.SipLogPrinter.MessageLog


    {
      try
      {
        StringBuilder sb = new StringBuilder();
        Object[] data = (Object[]) notification.getUserData();
        MessageLog log = new MessageLog(data);
        String info = log.getInfoLine().replaceFirst(log.getRemote(),
            SipLogPrinter.getFilterLink(SipLogPrinter.REMOTE_FILTER, log.getRemote()));
        sb.append("<div class=\"msg-info\">" + info + "</div>");
        sb.append("<pre class=\"message\">");
        sb.append(SipLogPrinter.sipToHtml(log.getMessage()));
        sb.append("</pre>");
        sb.append("</div>");
       
        _connection.sendMessage(sb.toString());
      }
View Full Code Here

TOP

Related Classes of org.cipango.console.printer.logs.SipLogPrinter.MessageLog

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.