| 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 | /** | ||||
| 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 | */ | ||||
| 11 | public interface TProtocolFactory { | ||||
| 12 | public TProtocol[] getIOProtocols(TTransport in, TTransport out); | ||||
| 13 | } | ||||