|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avro.ipc.NettyServer
public class NettyServer
A Netty-based RPC Server implementation.
| Constructor Summary | |
|---|---|
NettyServer(Responder responder,
InetSocketAddress addr)
|
|
NettyServer(Responder responder,
InetSocketAddress addr,
org.jboss.netty.channel.ChannelFactory channelFactory)
|
|
| 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)
public NettyServer(Responder responder,
InetSocketAddress addr,
org.jboss.netty.channel.ChannelFactory channelFactory)
| Method Detail |
|---|
public void start()
Server
start in interface Serverpublic void close()
Server
close in interface Serverpublic int getPort()
Server
getPort in interface Server
public void join()
throws InterruptedException
Server
join in interface ServerInterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||