Package cn.imaq.autumn.rpc.server.net
Class SunHttpServer
- java.lang.Object
-
- cn.imaq.autumn.rpc.server.net.SunHttpServer
-
- All Implemented Interfaces:
RpcHttpServer
public class SunHttpServer extends java.lang.Object implements RpcHttpServer
-
-
Constructor Summary
Constructors Constructor Description SunHttpServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(java.lang.String host, int port, RpcRequestHandler requestHandler)voidstart()voidstop()
-
-
-
Method Detail
-
configure
public void configure(java.lang.String host, int port, RpcRequestHandler requestHandler)- Specified by:
configurein interfaceRpcHttpServer
-
start
public void start()
- Specified by:
startin interfaceRpcHttpServer
-
stop
public void stop()
- Specified by:
stopin interfaceRpcHttpServer
-
-