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

com.alibaba.rocketmq.research.rpc.RPCClient Maven / Gradle / Ivy

There is a newer version: 3.1.8
Show newest version
/**
 * $Id: RPCClient.java 1831 2013-05-16 01:39:51Z shijia.wxr $
 */
package com.alibaba.rocketmq.research.rpc;

import java.net.InetSocketAddress;
import java.nio.ByteBuffer;


/**
 * 客户端接口
 * 
 * @author shijia.wxr
 */
public interface RPCClient {
    public void start();


    public void shutdown();


    public boolean connect(final InetSocketAddress remote, final int cnt);


    public ByteBuffer call(final byte[] req) throws InterruptedException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy