Mark Slee | 456b7a8 | 2006-10-25 20:53:37 +0000 | [diff] [blame] | 1 | package com.facebook.thrift.protocol; |
| 2 | |
| 3 | import com.facebook.thrift.transport.TTransport; |
| 4 | |
| 5 | /** |
Aditya Agarwal | 5a42958 | 2007-02-06 02:51:15 +0000 | [diff] [blame] | 6 | * Factory interface for constructing protocol instances. |
Mark Slee | 456b7a8 | 2006-10-25 20:53:37 +0000 | [diff] [blame] | 7 | * |
| 8 | * @author Mark Slee <mcslee@facebook.com> |
Aditya Agarwal | 5a42958 | 2007-02-06 02:51:15 +0000 | [diff] [blame] | 9 | * @author Aditya Agarwal <aditya@facebook.com> |
Mark Slee | 456b7a8 | 2006-10-25 20:53:37 +0000 | [diff] [blame] | 10 | */ |
| 11 | public interface TProtocolFactory { |
Aditya Agarwal | 5a42958 | 2007-02-06 02:51:15 +0000 | [diff] [blame] | 12 | public TProtocol getProtocol(TTransport trans); |
Mark Slee | 456b7a8 | 2006-10-25 20:53:37 +0000 | [diff] [blame] | 13 | } |