public class DefaultLocalClientChannelFactory extends Object implements LocalClientChannelFactory
LocalClientChannelFactory
implementation.Constructor and Description |
---|
DefaultLocalClientChannelFactory()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
LocalChannel |
newChannel(ChannelPipeline pipeline)
|
void |
releaseExternalResources()
Does nothing because this implementation does not require any external
resources.
|
void |
shutdown()
Shudown the ChannelFactory and all the resource it created internal.
|
public DefaultLocalClientChannelFactory()
public LocalChannel newChannel(ChannelPipeline pipeline)
ChannelFactory
newChannel
in interface ChannelFactory
newChannel
in interface LocalClientChannelFactory
pipeline
- the ChannelPipeline
which is going to be
attached to the new Channel
public void releaseExternalResources()
releaseExternalResources
in interface ChannelFactory
releaseExternalResources
in interface ExternalResourceReleasable
public void shutdown()
ChannelFactory
shutdown
in interface ChannelFactory
Copyright © 2008-2016 The Netty Project. All Rights Reserved.