toString() added
authorAlex Kirhenshtein <alk@netxms.org>
Mon, 10 Jun 2013 14:39:52 +0000 (14:39 +0000)
committerAlex Kirhenshtein <alk@netxms.org>
Mon, 10 Jun 2013 14:39:52 +0000 (14:39 +0000)
src/java/netxms-base/src/main/java/org/netxms/base/NXCPMessage.java

index 7f63454..2741ce4 100644 (file)
@@ -577,4 +577,11 @@ public class NXCPMessage
        {
                this.controlData = controlData;
        }
+
+       @Override
+       public String toString()
+       {
+               return "NXCPMessage [messageCode=" + messageCode + ", messageFlags=" + messageFlags + ", messageId=" + messageId
+                               + ", variableMap=" + variableMap + ", timestamp=" + timestamp + "]";
+       }
 }