public class NioHttpServerImpl extends Actor<NioHttpServerImpl> implements NioHttpServer
__cbQueue, __connections, __currentDispatcher, __mailbox, __mbCapacity, __nanos, __remoteId, __scheduler, __self, __stopped, CONT, FIN, FINSILENT, sender| Constructor and Description |
|---|
NioHttpServerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
$init(int port,
RequestProcessor processor) |
void |
$receive() |
void |
$stopService() |
Actor |
getServingActor() |
protected void |
info(String s) |
static void |
main(String[] arg) |
protected void |
service(SelectionKey key,
SocketChannel client) |
protected void |
severe(String s) |
__addRemoteConnection, __addStopHandler, __enqueueCall, __getCachedMethod, __removeRemoteConnection, __stop, $close, $stop, $sync, async, checkThread, Cont, delayed, Fin, getActor, getActorRef, getCallbackSize, getFactory, getMailboxSize, getScheduler, inThread, isCallbackQPressured, isMailboxPressured, isProxy, isRemote, isStopped, self, stopSafeClose, yield, yieldListpublic void $init(int port,
RequestProcessor processor)
$init in interface NioHttpServerprotected void severe(String s)
protected void info(String s)
public void $receive()
$receive in interface NioHttpServerpublic Actor getServingActor()
getServingActor in interface NioHttpServerpublic void $stopService()
protected void service(SelectionKey key, SocketChannel client) throws IOException
IOExceptionpublic static void main(String[] arg) throws InterruptedException
InterruptedExceptionCopyright © 2014. All rights reserved.