ChannelFactory that instantiates a new Channel by invoking its default constructor reflectively.
| Modifier and Type | Field and Description |
|---|---|
| private final Constructor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public T | newChannel(EventLoop eventLoop)
Implements io. |
| public String |
| constructor | back to summary |
|---|---|
| private final Constructor<? extends T> constructor | |
| ReflectiveChannelFactory | back to summary |
|---|---|
| public ReflectiveChannelFactory(Class<? extends T> clazz) | |
| newChannel | back to summary |
|---|---|
| public T newChannel(EventLoop eventLoop) throws Exception Implements io. Doc from io. Creates a new channel.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |