Liferay 7.0-ce-b4

com.liferay.portal.fabric.netty.handlers
Class NettyChannelAttributes

java.lang.Object
  extended by com.liferay.portal.fabric.netty.handlers.NettyChannelAttributes

public class NettyChannelAttributes
extends Object


Constructor Summary
NettyChannelAttributes()
           
 
Method Summary
static
<T extends Serializable>
AsyncBroker<Long,T>
getAsyncBroker(io.netty.channel.Channel channel)
           
static
<T extends Serializable>
FabricWorker<T>
getFabricWorker(io.netty.channel.Channel channel, long id)
           
static Map<Long,FabricWorker<?>> getFabricWorkers(io.netty.channel.Channel channel)
           
static NettyFabricAgentStub getNettyFabricAgentStub(io.netty.channel.Channel channel)
           
static long nextId(io.netty.channel.Channel channel)
           
static
<T extends Serializable>
void
putFabricWorker(io.netty.channel.Channel channel, long id, FabricWorker<T> fabricWorker)
           
static void setNettyFabricAgentStub(io.netty.channel.Channel channel, NettyFabricAgentStub nettyFabricAgentStub)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NettyChannelAttributes

public NettyChannelAttributes()
Method Detail

getAsyncBroker

public static <T extends Serializable> AsyncBroker<Long,T> getAsyncBroker(io.netty.channel.Channel channel)

getFabricWorker

public static <T extends Serializable> FabricWorker<T> getFabricWorker(io.netty.channel.Channel channel,
                                                                       long id)

getFabricWorkers

public static Map<Long,FabricWorker<?>> getFabricWorkers(io.netty.channel.Channel channel)

getNettyFabricAgentStub

public static NettyFabricAgentStub getNettyFabricAgentStub(io.netty.channel.Channel channel)

nextId

public static long nextId(io.netty.channel.Channel channel)

putFabricWorker

public static <T extends Serializable> void putFabricWorker(io.netty.channel.Channel channel,
                                                            long id,
                                                            FabricWorker<T> fabricWorker)

setNettyFabricAgentStub

public static void setNettyFabricAgentStub(io.netty.channel.Channel channel,
                                           NettyFabricAgentStub nettyFabricAgentStub)

Liferay 7.0-ce-b4