Package org.jboss.netty.channel.local
Class DefaultLocalClientChannelFactory
- java.lang.Object
-
- org.jboss.netty.channel.local.DefaultLocalClientChannelFactory
-
- All Implemented Interfaces:
ChannelFactory,LocalClientChannelFactory,ExternalResourceReleasable
public class DefaultLocalClientChannelFactory extends Object implements LocalClientChannelFactory
The defaultLocalClientChannelFactoryimplementation.
-
-
Constructor Summary
Constructors Constructor Description DefaultLocalClientChannelFactory()Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalChannelnewChannel(ChannelPipeline pipeline)voidreleaseExternalResources()Does nothing because this implementation does not require any external resources.voidshutdown()Shudown the ChannelFactory and all the resource it created internal.
-
-
-
Method Detail
-
newChannel
public LocalChannel newChannel(ChannelPipeline pipeline)
Description copied from interface:ChannelFactory- Specified by:
newChannelin interfaceChannelFactory- Specified by:
newChannelin interfaceLocalClientChannelFactory- Parameters:
pipeline- theChannelPipelinewhich is going to be attached to the newChannel- Returns:
- the newly open channel
-
releaseExternalResources
public void releaseExternalResources()
Does nothing because this implementation does not require any external resources.- Specified by:
releaseExternalResourcesin interfaceChannelFactory- Specified by:
releaseExternalResourcesin interfaceExternalResourceReleasable
-
shutdown
public void shutdown()
Description copied from interface:ChannelFactoryShudown the ChannelFactory and all the resource it created internal.- Specified by:
shutdownin interfaceChannelFactory
-
-