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)
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
public void shutdown()
ChannelFactory
shutdown
in interface ChannelFactory
Copyright © 2008-2015 The Netty Project. All Rights Reserved.