blob: 09ffb227529bf5d170a91d974c42f05bc7b00694 [file] [log] [blame]
// Copyright (c) 2006- Facebook
// Distributed under the Thrift Software License
//
// See accompanying file LICENSE or visit the Thrift site at:
// http://developers.facebook.com/thrift/
package com.facebook.thrift.protocol;
import com.facebook.thrift.transport.TTransport;
/**
* Factory interface for constructing protocol instances.
*
* @author Mark Slee <mcslee@facebook.com>
* @author Aditya Agarwal <aditya@facebook.com>
*/
public interface TProtocolFactory {
public TProtocol getProtocol(TTransport trans);
}