public class ProxyService extends Object implements InvocationHandler, ProxyServiceName, jp.go.nict.langrid.servicecontainer.executor.StreamingNotifier<Object>
EndpointFactory
Constructor and Description |
---|
ProxyService()
コンストラクタ
|
Modifier and Type | Method and Description |
---|---|
ClientFactory |
getClientFactory()
ClientFactoryを取得する
|
EndpointFactory |
getEndpointFactory()
EndpointFactoryを取得する
|
String |
getMsgpackPort()
MsgPackサービスのポート番号を取得する
|
String |
getServiceMapping()
サービス呼び出し用のマッピング情報を取得する
|
String |
getServiceName()
Proxy用サービス名を取得する
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
void |
setClientFactory(ClientFactory clientFactory)
ClientFactoryを設定する。
|
void |
setEndpointFactory(EndpointFactory endpointFactory)
EndpointFactoryを設定する。
|
void |
setMsgpackPort(String msgpackPort)
Msgpackサービスのポート番号(文字列)を設定する
|
void |
setReceiver(jp.go.nict.langrid.servicecontainer.executor.StreamingReceiver<Object> receiver) |
void |
setServiceMapping(String serviceMapping)
サービスマッピング情報を設定する。
|
void |
setServiceName(String name)
Proxy用サービス名を設定する
|
public ClientFactory getClientFactory()
public EndpointFactory getEndpointFactory()
public String getMsgpackPort()
public String getServiceMapping()
public String getServiceName()
ProxyServiceName
getServiceName
in interface ProxyServiceName
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public void setClientFactory(ClientFactory clientFactory)
clientFactory
- ClientFactorypublic void setEndpointFactory(EndpointFactory endpointFactory)
endpointFactory
- EndpointFactorypublic void setMsgpackPort(String msgpackPort)
msgpackPort
- ポート番号public void setServiceMapping(String serviceMapping)
serviceMapping
- サービスマッピング情報public void setServiceName(String name)
ProxyServiceName
setServiceName
in interface ProxyServiceName
name
- 設定するサービス名Copyright (C) 2014 Information Analysis Laboratory, NICT
RaSC is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the License, or (at your option) any later version.
RaSC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see (http://www.gnu.org/licenses/) .