ChannelManager

class ChannelManager
Author:Lars Kroll <lkroll@kth.se>

Constructors

ChannelManager

public ChannelManager(NettyNetwork comp)

Methods

addLocalSocket

void addLocalSocket(UdtChannel channel)

addLocalSocket

void addLocalSocket(SocketChannel channel)

channelInactive

void channelInactive(ChannelHandlerContext ctx, Transport protocol)

checkActive

void checkActive(CheckChannelActive msg, Channel c)

checkTCPChannel

void checkTCPChannel(Msg<?, ?> msg, SocketChannel c)

checkUDTChannel

void checkUDTChannel(Msg<?, ?> msg, UdtChannel c)

clearConnections

void clearConnections()

createTCPChannel

SocketChannel createTCPChannel(Address destination, Bootstrap bootstrapTCPClient)

createUDTChannel

UdtChannel createUDTChannel(Address destination, Bootstrap bootstrapUDTClient)

disambiguate

void disambiguate(DisambiguateConnection msg, Channel c)

flushAndClose

void flushAndClose(CloseChannel msg, Channel c)

getTCPChannel

SocketChannel getTCPChannel(Address destination)

getUDTChannel

UdtChannel getUDTChannel(Address destination)

monitor

void monitor()