/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ 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); public static final byte[] endOfChunk = "\n##\n".getBytes(Charsets.UTF_8); public static final int MAX_CHUNK_SIZE = 1024; // bytes public static final int MIN_HEADER_LENGTH = 4; // bytes public static final int MAX_HEADER_LENGTH = 13; // bytes }