Class NceMonBinary


  • public class NceMonBinary
    extends java.lang.Object
    A utility class for formatting NCE binary command and replies into human-readable text. The text for the display comes from NCE's Bincmds.txt published November 2007 and is used with NCE's permission.
    • Constructor Summary

      Constructors 
      Constructor Description
      NceMonBinary()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String displayMessage​(NceMessage m)
      Creates a command message for the log, in a human-friendly form if possible.
      java.lang.String displayReply​(NceReply r)
      Creates a reply message for the log, in a human-friendly form if possible.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • displayMessage

        public java.lang.String displayMessage​(NceMessage m)
        Creates a command message for the log, in a human-friendly form if possible.
        Parameters:
        m - the raw command message
        Returns:
        the displayable message string
      • displayReply

        public java.lang.String displayReply​(NceReply r)
        Creates a reply message for the log, in a human-friendly form if possible.
        Parameters:
        r - the raw reply message
        Returns:
        the displayable message string