Liferay 7.0-ce-m3

com.liferay.portal.fabric.netty.server
Class NettyFabricServer

java.lang.Object
  extended by com.liferay.portal.fabric.netty.server.NettyFabricServer
All Implemented Interfaces:
FabricServer

public class NettyFabricServer
extends Object
implements FabricServer


Nested Class Summary
protected  class NettyFabricServer.ChildChannelInitializer
           
protected  class NettyFabricServer.PostBindChannelFutureListener
           
 
Constructor Summary
NettyFabricServer(FabricAgentRegistry fabricAgentRegistry, NettyFabricServerConfig nettyFabricServerConfig)
           
 
Method Summary
protected  io.netty.util.concurrent.EventExecutorGroup getEventExecutorGroup(io.netty.channel.Channel channel, io.netty.util.AttributeKey<io.netty.util.concurrent.EventExecutorGroup> attributeKey)
           
protected  void shutdownEventExecutorGroup(io.netty.channel.Channel channel, io.netty.util.AttributeKey<? extends io.netty.util.concurrent.EventExecutorGroup> attributeKey)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NettyFabricServer

public NettyFabricServer(FabricAgentRegistry fabricAgentRegistry,
                         NettyFabricServerConfig nettyFabricServerConfig)
Method Detail

start

public void start()
           throws Exception
Specified by:
start in interface FabricServer
Throws:
Exception

stop

public void stop()
          throws InterruptedException
Specified by:
stop in interface FabricServer
Throws:
InterruptedException

getEventExecutorGroup

protected io.netty.util.concurrent.EventExecutorGroup getEventExecutorGroup(io.netty.channel.Channel channel,
                                                                            io.netty.util.AttributeKey<io.netty.util.concurrent.EventExecutorGroup> attributeKey)

shutdownEventExecutorGroup

protected void shutdownEventExecutorGroup(io.netty.channel.Channel channel,
                                          io.netty.util.AttributeKey<? extends io.netty.util.concurrent.EventExecutorGroup> attributeKey)

Liferay 7.0-ce-m3