public class DefaultLocalServerChannelFactory extends Object implements LocalServerChannelFactory
LocalServerChannelFactory
implementation.Constructor and Description |
---|
DefaultLocalServerChannelFactory() |
Modifier and Type | Method and Description |
---|---|
LocalServerChannel |
newChannel(ChannelPipeline pipeline)
|
void |
releaseExternalResources()
Release all the previous created channels.
|
public LocalServerChannel newChannel(ChannelPipeline pipeline)
ChannelFactory
newChannel
in interface ChannelFactory
newChannel
in interface LocalServerChannelFactory
newChannel
in interface ServerChannelFactory
pipeline
- the ChannelPipeline
which is going to be
attached to the new Channel
public void releaseExternalResources()
LocalChannelRegistry.unregister(LocalAddress)
for each of them.releaseExternalResources
in interface ChannelFactory
releaseExternalResources
in interface ExternalResourceReleasable
Copyright © 2008-2013 The Netty Project. All Rights Reserved.