2 * Copyright (c) 2013, 2015 EBay Software Foundation and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.ovsdb.lib.jsonrpc;
11 import io.netty.channel.ChannelHandlerContext;
12 import io.netty.handler.codec.MessageToMessageEncoder;
14 import java.util.List;
17 * Created with IntelliJ IDEA.
21 * To change this template use File | Settings | File Templates.
23 public class JsonRpcEncoder extends MessageToMessageEncoder<Object> {
25 protected void encode(ChannelHandlerContext ctx, Object msg, List<Object> out) throws Exception {