All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hc360.rsf.rpc.Invoker Maven / Gradle / Ivy

The newest version!
/**
 * Invoker.java   2012-4-26
 * Copyright(c) 2000-2012 HC360.COM, All Rights Reserved.
 */
package com.hc360.rsf.rpc;

import java.util.List;

import com.hc360.rsf.common.URL;
import com.hc360.rsf.config.ClientMethodConfig;

/**
 * Invoker “调用”接口
 * 
 * 是客户端“发起调用”的核心接口
 * 
 * 是服务“调用真实业务”的核心接口
 * 
 * @author zhaolei 2012-4-26
 */
public interface Invoker  {
	
	URL getUrl();
	 
    /**
     * get service interface.
     * 
     * @return service interface.
     */
    Class getInterface();

    /**
     * invoke.
     * 
     * @param invocation
     * @return result
     * @throws RpcException
     */
    RpcResult invoke(RpcInvocation invocation) ;


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy