blob: 7604b1293b2d07574f9764d2b6c06e80e346d787 [file] [log] [blame]
Mark Slee456b7a82006-10-25 20:53:37 +00001package com.facebook.thrift.protocol;
2
3import com.facebook.thrift.transport.TTransport;
4
5/**
6 * Factory interface for constructing protocol encoder/decoder pair from an
7 * input and output transport.
8 *
9 * @author Mark Slee <mcslee@facebook.com>
10 */
11public interface TProtocolFactory {
12 public TProtocol[] getIOProtocols(TTransport in, TTransport out);
13}