use of com.alipay.sofa.rpc.asynchain.ServiceCImpl in project sofa-rpc by sofastack.
the class ServerC method main.
public static void main(String[] args) {
ServerConfig serverConfig = new ServerConfig().setPort(12299).setDaemon(false);
ProviderConfig<ServiceC> providerConfig = new ProviderConfig<ServiceC>().setInterfaceId(ServiceC.class.getName()).setApplication(new ApplicationConfig().setAppName("CCC")).setRef(new ServiceCImpl(1000)).setServer(serverConfig).setRegister(false);
providerConfig.export();
}
Aggregations