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

com.isuwang.dapeng.remoting.SoaConnection Maven / Gradle / Ivy

The newest version!
package com.isuwang.dapeng.remoting;

import com.isuwang.org.apache.thrift.TException;
import com.isuwang.dapeng.core.TBeanSerializer;

import java.util.concurrent.Future;

/**
 * @author craneding
 * @date 16/3/1
 */
public interface SoaConnection {

     RESP send(REQ request, RESP response, TBeanSerializer requestSerializer, TBeanSerializer responseSerializer) throws TException;

     Future sendAsync(REQ request, RESP response, TBeanSerializer requestSerializer, TBeanSerializer responseSerializer, long timeout) throws TException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy