|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.ipc.NettyServer
public class NettyServer
A Netty-based RPC Server
implementation.
Constructor Summary | |
---|---|
NettyServer(Responder responder,
InetSocketAddress addr)
|
Method Summary | |
---|---|
void |
close()
Stop this server. |
int |
getPort()
The port this server runs on. |
void |
join()
Wait for this server to exit. |
void |
start()
Start this server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NettyServer(Responder responder, InetSocketAddress addr)
Method Detail |
---|
public void start()
Server
start
in interface Server
public void close()
Server
close
in interface Server
public int getPort()
Server
getPort
in interface Server
public void join() throws InterruptedException
Server
join
in interface Server
InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |