public class DefaultLocalClientChannelFactory extends java.lang.Object implements LocalClientChannelFactory
LocalClientChannelFactory implementation.| Modifier and Type | Field and Description |
|---|---|
private ChannelSink |
sink |
| 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.
|
private final ChannelSink sink
public DefaultLocalClientChannelFactory()
public LocalChannel newChannel(ChannelPipeline pipeline)
ChannelFactorynewChannel in interface ChannelFactorynewChannel in interface LocalClientChannelFactorypipeline - the ChannelPipeline which is going to be
attached to the new Channelpublic void releaseExternalResources()
releaseExternalResources in interface ChannelFactoryreleaseExternalResources in interface ExternalResourceReleasablepublic void shutdown()
ChannelFactoryshutdown in interface ChannelFactory