Package io.netty.channel.local
Class LocalChannelRegistry
- java.lang.Object
-
- io.netty.channel.local.LocalChannelRegistry
-
final class LocalChannelRegistry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.concurrent.ConcurrentMap<LocalAddress,Channel>
boundChannels
-
Constructor Summary
Constructors Modifier Constructor Description private
LocalChannelRegistry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static Channel
get(java.net.SocketAddress localAddress)
(package private) static LocalAddress
register(Channel channel, LocalAddress oldLocalAddress, java.net.SocketAddress localAddress)
(package private) static void
unregister(LocalAddress localAddress)
-
-
-
Field Detail
-
boundChannels
private static final java.util.concurrent.ConcurrentMap<LocalAddress,Channel> boundChannels
-
-
Method Detail
-
register
static LocalAddress register(Channel channel, LocalAddress oldLocalAddress, java.net.SocketAddress localAddress)
-
get
static Channel get(java.net.SocketAddress localAddress)
-
unregister
static void unregister(LocalAddress localAddress)
-
-