com.ikasoa.rpc.BaseGetService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ikasoa-rpc Show documentation
Show all versions of ikasoa-rpc Show documentation
ikasoa-rpc is a high performance RPC(Remote Procedure Call) framework.
package com.ikasoa.rpc;
/**
* 基础服务接口
*
* @author Larry
* @version 0.1
*/
@FunctionalInterface
public interface BaseGetService {
/**
* 获取默认的服务对象
*
* @param arg
* 参数对象
* @return R 返回对象
* @exception Throwable
* 抛出
*/
R get(T arg) throws Throwable;
}