public class MsgPackRpcServer extends Object
Constructor and Description |
---|
MsgPackRpcServer() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
サンプルメイン.
|
void |
start(String serviceName,
int port)
MsgPackRPCサーバ起動.
|
void |
start(String serviceName,
int port,
String srcPath,
ClassLoader classLoader)
MsgPackRPCサーバ起動.
|
public static void main(String[] args) throws Exception
args
- 引数配列Exception
public void start(String serviceName, int port) throws UnknownHostException, IOException, InterruptedException
serviceName
- サービス名(サービス.XMLの.XMLを除去したもの)port
- 起動するポート番号UnknownHostException
IOException
InterruptedException
public void start(String serviceName, int port, String srcPath, ClassLoader classLoader) throws UnknownHostException, IOException, InterruptedException
serviceName
- サービス名(サービス.XMLの.XMLを除去したもの)port
- 起動するポート番号srcPath
- サービスへのルートパスclassLoader
- 起動に使用するClassLoaderUnknownHostException
IOException
InterruptedException
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/) .