jp.go.nict.langrid.servicecontainer.executor.protobufrpc
クラス AbstractPbServiceExecutor

java.lang.Object
  上位を拡張 jp.go.nict.langrid.servicecontainer.service.component.AbstractServiceExecutor
      上位を拡張 jp.go.nict.langrid.servicecontainer.executor.protobufrpc.AbstractPbServiceExecutor
直系の既知のサブクラス:
DynamicPbServiceExecutor, PbBilingualDictionaryWithLongestMatchSearchServiceExecutor, PbMorphologicalAnalysisServiceExecutor, PbTranslationServiceExecutor

public abstract class AbstractPbServiceExecutor
extends AbstractServiceExecutor

Protocol Buffers 用 外部サービス呼び出し基底クラス

作成者:
Takao Nakaguchi

コンストラクタの概要
AbstractPbServiceExecutor(String invocationName)
           
AbstractPbServiceExecutor(String invocationName, long invocationId, Endpoint endpoint)
           
 
メソッドの概要
protected  void postprocessPb(long iid, long deltaTime, jp.go.nict.langrid.commons.protobufrpc.DefaultRpcController controller, jp.go.nict.langrid.commons.protobufrpc.URLRpcChannel channel, List<jp.go.nict.langrid.client.protobuf.proto.CommonProtos.Header> responseHeaders, jp.go.nict.langrid.client.protobuf.proto.CommonProtos.Fault fault)
          Protocol Buffers 後処理
protected  Pair<jp.go.nict.langrid.commons.protobufrpc.URLRpcChannel,Long> preprocessPb(SoapHeaders soapHeaders)
          Protocol Buffers 前処理
 
クラス jp.go.nict.langrid.servicecontainer.service.component.AbstractServiceExecutor から継承されたメソッド
getInvocationName, postprocess, preprocess
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AbstractPbServiceExecutor

public AbstractPbServiceExecutor(String invocationName)

AbstractPbServiceExecutor

public AbstractPbServiceExecutor(String invocationName,
                                 long invocationId,
                                 Endpoint endpoint)
メソッドの詳細

preprocessPb

protected Pair<jp.go.nict.langrid.commons.protobufrpc.URLRpcChannel,Long> preprocessPb(SoapHeaders soapHeaders)
                                                                                throws ServiceNotActiveException
Protocol Buffers 前処理

例外:
ServiceNotActiveException

postprocessPb

protected void postprocessPb(long iid,
                             long deltaTime,
                             jp.go.nict.langrid.commons.protobufrpc.DefaultRpcController controller,
                             jp.go.nict.langrid.commons.protobufrpc.URLRpcChannel channel,
                             List<jp.go.nict.langrid.client.protobuf.proto.CommonProtos.Header> responseHeaders,
                             jp.go.nict.langrid.client.protobuf.proto.CommonProtos.Fault fault)
                      throws ProcessFailedException
Protocol Buffers 後処理

例外:
ProcessFailedException