com.hyf.hotrefresh.remoting.server.RpcServer Maven / Gradle / Ivy
package com.hyf.hotrefresh.remoting.server;
import com.hyf.hotrefresh.remoting.exception.RpcException;
import com.hyf.hotrefresh.remoting.exception.ServerException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* @author baB_hyf
* @date 2022/05/19
*/
public interface RpcServer {
void start() throws ServerException;
void handle(InputStream is, OutputStream os) throws RpcException;
void stop() throws ServerException;
}