Split message aggregators
[controller.git] / opendaylight / netconf / netconf-util / src / main / java / org / opendaylight / controller / netconf / util / messages / NetconfMessageConstants.java
index 1a08f9063fdad0d526c483e10d0a83cce3acbb62..c111998e0ae8c271cd7fbd4c22383930a5a411c3 100644 (file)
@@ -11,12 +11,15 @@ package org.opendaylight.controller.netconf.util.messages;
 import com.google.common.base.Charsets;
 
 public class NetconfMessageConstants {
-
-    public static final byte[] endOfMessage = "]]>]]>".getBytes(Charsets.UTF_8);
+    /**
+     * The NETCONF 1.0 old-style message separator. This is framing mechanism
+     * is used by default.
+     */
+    public static final byte[] END_OF_MESSAGE = "]]>]]>".getBytes(Charsets.UTF_8);
 
     public static final byte[] endOfChunk = "\n##\n".getBytes(Charsets.UTF_8);
 
     public static final int MIN_HEADER_LENGTH = 4; // bytes
 
     public static final int MAX_HEADER_LENGTH = 13; // bytes
-}
\ No newline at end of file
+}