
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.
|
void |
shutdown()
Shudown the ChannelFactory and all the resource it created internal.
|
public LocalServerChannel newChannel(ChannelPipeline pipeline)
ChannelFactorynewChannel in interface ChannelFactorynewChannel in interface LocalServerChannelFactorynewChannel in interface ServerChannelFactorypipeline - the ChannelPipeline which is going to be
attached to the new Channelpublic void releaseExternalResources()
LocalChannelRegistry.unregister(LocalAddress) for each of them.releaseExternalResources in interface ChannelFactoryreleaseExternalResources in interface ExternalResourceReleasablepublic void shutdown()
ChannelFactoryshutdown in interface ChannelFactoryCopyright © 2008-2014 The Netty Project. All Rights Reserved.