2 * Copyright (C) 2013 EBay Software Foundation
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
8 * Authors : Ashwin Raveendran, Madhu Venugopal
10 package org.opendaylight.ovsdb.lib.jsonrpc;
12 import io.netty.channel.ChannelHandlerContext;
13 import io.netty.handler.codec.MessageToMessageEncoder;
15 import java.util.List;
18 * Created with IntelliJ IDEA.
22 * To change this template use File | Settings | File Templates.
24 public class JsonRpcEncoder extends MessageToMessageEncoder<Object> {
26 protected void encode(ChannelHandlerContext ctx, Object msg, List<Object> out) throws Exception {