Mark Slee | 83c52a8 | 2006-06-07 06:51:18 +0000 | [diff] [blame] | 1 | package com.facebook.thrift; |
2 | |||||
3 | import com.facebook.thrift.transport.TTransport; | ||||
4 | |||||
5 | /** | ||||
6 | * A processor is a generic object which operates upon an input stream and | ||||
7 | * writes to some output stream. | ||||
8 | * | ||||
9 | * @author Mark Slee <mcslee@facebook.com> | ||||
10 | */ | ||||
11 | public interface TProcessor { | ||||
12 | public boolean process(TTransport in, TTransport out) | ||||
13 | throws TException; | ||||
14 | } |