X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnetconf%2Fnetconf-util%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Futil%2Fmessages%2FNetconfMessageConstants.java;h=8bd6b8865933d7191a063055834ce3fb98b0bbe4;hb=408eeef51f435abd2027f9d25ac5592066b202dd;hp=c111998e0ae8c271cd7fbd4c22383930a5a411c3;hpb=eac080120972a30ae37566fec20521286e87ef18;p=controller.git diff --git a/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/messages/NetconfMessageConstants.java b/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/messages/NetconfMessageConstants.java index c111998e0a..8bd6b88659 100644 --- a/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/messages/NetconfMessageConstants.java +++ b/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/messages/NetconfMessageConstants.java @@ -17,9 +17,13 @@ public class NetconfMessageConstants { */ public static final byte[] END_OF_MESSAGE = "]]>]]>".getBytes(Charsets.UTF_8); - public static final byte[] endOfChunk = "\n##\n".getBytes(Charsets.UTF_8); + // bytes - public static final int MIN_HEADER_LENGTH = 4; // bytes + public static final int MIN_HEADER_LENGTH = 4; - public static final int MAX_HEADER_LENGTH = 13; // bytes + // bytes + + public static final int MAX_HEADER_LENGTH = 13; + + public static final byte[] END_OF_CHUNK = "\n##\n".getBytes(Charsets.UTF_8); }