porting to 2.0, making it compile: UNTESTED!
This commit is contained in:
parent
418b11d553
commit
6c786d20b8
5 changed files with 135 additions and 82 deletions
|
|
@ -37,13 +37,15 @@ class NettyRemoteServer(val netty: NettyRemoteTransport) {
|
|||
|
||||
private val bootstrap = {
|
||||
val b = new ServerBootstrap(factory)
|
||||
b.setPipelineFactory(new RemoteServerPipelineFactory(openChannels, executionHandler, netty))
|
||||
b.setPipelineFactory(makePipeline())
|
||||
b.setOption("backlog", settings.Backlog)
|
||||
b.setOption("tcpNoDelay", true)
|
||||
b.setOption("child.keepAlive", true)
|
||||
b.setOption("reuseAddress", true)
|
||||
b
|
||||
}
|
||||
|
||||
protected def makePipeline(): ChannelPipelineFactory = new RemoteServerPipelineFactory(openChannels, executionHandler, netty)
|
||||
|
||||
@volatile
|
||||
private[akka] var channel: Channel = _
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue