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) voidDoes nothing because this implementation does not require any external resources.voidshutdown()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:
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
-