public class DefaultLocalServerChannelFactory extends java.lang.Object implements LocalServerChannelFactory
LocalServerChannelFactory
implementation.构造器和说明 |
---|
DefaultLocalServerChannelFactory() |
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 ChannelFactory
newChannel
在接口中 LocalServerChannelFactory
newChannel
在接口中 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
在接口中 ChannelFactory
releaseExternalResources
在接口中 ExternalResourceReleasable
public void shutdown()
ChannelFactory
shutdown
在接口中 ChannelFactory