com.github.ltsopensource.remoting.RemotingTransporter Maven / Gradle / Ivy
package com.github.ltsopensource.remoting;
import com.github.ltsopensource.core.AppContext;
import com.github.ltsopensource.core.spi.SPI;
import com.github.ltsopensource.core.spi.SpiExtensionKey;
/**
* @author Robert HG ([email protected]) on 11/6/15.
*/
@SPI(key = SpiExtensionKey.REMOTING, dftValue = "netty")
public interface RemotingTransporter {
RemotingServer getRemotingServer(AppContext appContext, RemotingServerConfig remotingServerConfig);
RemotingClient getRemotingClient(AppContext appContext, RemotingClientConfig remotingClientConfig);
}