public class DefaultLocalClientChannelFactory extends java.lang.Object implements LocalClientChannelFactory
LocalClientChannelFactory
implementation.构造器和说明 |
---|
DefaultLocalClientChannelFactory()
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
public DefaultLocalClientChannelFactory()
public LocalChannel newChannel(ChannelPipeline pipeline)
ChannelFactory
newChannel
在接口中 ChannelFactory
newChannel
在接口中 LocalClientChannelFactory
pipeline
- the ChannelPipeline
which is going to be
attached to the new Channel
public void releaseExternalResources()
releaseExternalResources
在接口中 ChannelFactory
releaseExternalResources
在接口中 ExternalResourceReleasable
public void shutdown()
ChannelFactory
shutdown
在接口中 ChannelFactory