blob: 9ca3c9ee8104da50d5b8309111bac113808e1450 [file] [log] [blame]
Mark Slee456b7a82006-10-25 20:53:37 +00001package com.facebook.thrift.protocol;
2
3import com.facebook.thrift.transport.TTransport;
4
5/**
Aditya Agarwal5a429582007-02-06 02:51:15 +00006 * Factory interface for constructing protocol instances.
Mark Slee456b7a82006-10-25 20:53:37 +00007 *
8 * @author Mark Slee <mcslee@facebook.com>
Aditya Agarwal5a429582007-02-06 02:51:15 +00009 * @author Aditya Agarwal <aditya@facebook.com>
Mark Slee456b7a82006-10-25 20:53:37 +000010 */
11public interface TProtocolFactory {
Aditya Agarwal5a429582007-02-06 02:51:15 +000012 public TProtocol getProtocol(TTransport trans);
Mark Slee456b7a82006-10-25 20:53:37 +000013}