public abstract class ProcessFunction<I,T extends TBase>
extends java.lang.Object
| Constructor and Description |
|---|
ProcessFunction(java.lang.String methodName) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
getEmptyArgsInstance() |
java.lang.String |
getMethodName() |
abstract TBase |
getResult(I iface,
T args) |
protected boolean |
handleRuntimeExceptions() |
protected abstract boolean |
isOneway() |
void |
process(int seqid,
TProtocol iprot,
TProtocol oprot,
I iface) |
public final void process(int seqid,
TProtocol iprot,
TProtocol oprot,
I iface)
throws TException
TExceptionprotected boolean handleRuntimeExceptions()
protected abstract boolean isOneway()
public abstract TBase getResult(I iface, T args) throws TException
TExceptionpublic abstract T getEmptyArgsInstance()
public java.lang.String getMethodName()