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 defaultLocalClientChannelFactory
implementation.
-
-
Constructor Summary
Constructors Constructor Description DefaultLocalClientChannelFactory()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
newChannel
public LocalChannel newChannel(ChannelPipeline pipeline)
Description copied from interface:ChannelFactory
- Specified by:
newChannel
in interfaceChannelFactory
- Specified by:
newChannel
in interfaceLocalClientChannelFactory
- Parameters:
pipeline
- theChannelPipeline
which 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:
releaseExternalResources
in interfaceChannelFactory
- Specified by:
releaseExternalResources
in interfaceExternalResourceReleasable
-
shutdown
public void shutdown()
Description copied from interface:ChannelFactory
Shudown the ChannelFactory and all the resource it created internal.- Specified by:
shutdown
in interfaceChannelFactory
-
-