Package org.jboss.netty.channel.local
Class DefaultLocalClientChannelFactory
java.lang.Object
org.jboss.netty.channel.local.DefaultLocalClientChannelFactory
- All Implemented Interfaces:
ChannelFactory
,LocalClientChannelFactory
,ExternalResourceReleasable
The default
LocalClientChannelFactory
implementation.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewChannel
(ChannelPipeline pipeline) void
Does nothing because this implementation does not require any external resources.void
shutdown()
Shudown the ChannelFactory and all the resource it created internal.
-
Field Details
-
sink
-
-
Constructor Details
-
DefaultLocalClientChannelFactory
public DefaultLocalClientChannelFactory()Creates a new instance.
-
-
Method Details
-
newChannel
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
-