Package org.apache.thrift
Class ProcessFunction<I,T extends TBase>
- java.lang.Object
-
- org.apache.thrift.ProcessFunction<I,T>
-
public abstract class ProcessFunction<I,T extends TBase> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProcessFunction(java.lang.String methodName)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract TgetEmptyArgsInstance()java.lang.StringgetMethodName()abstract TBasegetResult(I iface, T args)protected abstract booleanisOneway()voidprocess(int seqid, TProtocol iprot, TProtocol oprot, I iface)protected booleanrethrowUnhandledExceptions()
-
-
-
Method Detail
-
process
public final void process(int seqid, TProtocol iprot, TProtocol oprot, I iface) throws TException- Throws:
TException
-
rethrowUnhandledExceptions
protected boolean rethrowUnhandledExceptions()
-
isOneway
protected abstract boolean isOneway()
-
getResult
public abstract TBase getResult(I iface, T args) throws TException
- Throws:
TException
-
getEmptyArgsInstance
public abstract T getEmptyArgsInstance()
-
getMethodName
public java.lang.String getMethodName()
-
-