public class ReflectiveChannelFactory<T extends Channel> extends java.lang.Object implements ChannelFactory<T>
ChannelFactory
实例化一个新Channel
通过反射性地调用它的默认构造函数。
Constructor and Description |
---|
ReflectiveChannelFactory(java.lang.Class<? extends T> clazz) |
Modifier and Type | Method and Description |
---|---|
T |
newChannel()
创建一个新频道。
|
java.lang.String |
toString() |
public ReflectiveChannelFactory(java.lang.Class<? extends T> clazz)
public T newChannel()
ChannelFactory
newChannel
在界面
ChannelFactory<T extends Channel>
public java.lang.String toString()
toString
in class
java.lang.Object
Copyright © 2008–2018 The Netty Project. All rights reserved.