| 程序包 | 说明 |
|---|---|
| net.hasor.neta.channel | |
| net.hasor.neta.handler | |
| net.hasor.neta.handler.ssl |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AttributeChannel<T>
SoChannel abstract implementation, providing only get/set of attributes.
|
class |
NetChannel
A tcp network channel
the channel that binds to the Application layer network protocol stack.
|
class |
NetListen
A listener channel for accept incoming sockets and binding them to the protocol stack
|
| 限定符和类型 | 方法和说明 |
|---|---|
SoChannel<?> |
CobbleSocket.findChannel(long channelID)
find SoChannel by id
|
SoChannel<?> |
SoContext.findChannel(long channelID)
find SoChannel by id
|
SoChannel<?> |
PipeContext.getChannel()
the channel
|
SoChannel<?> |
PipeContextImpl.getChannel() |
| 构造器和说明 |
|---|
PipeContextImpl(SoChannel<?> channel,
SoContext soContext) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
EmbeddedChannel
Base class for
SoChannel implementations that are used in an embedded fashion. |
| 限定符和类型 | 方法和说明 |
|---|---|
SoChannel<?> |
EmbeddedSoContext.findChannel(long channelID) |
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
PipeListener.onError(SoChannel<?> channel,
Throwable e,
boolean isRcv) |
void |
PipeListener.onReceive(SoChannel<?> channel,
T data) |
void |
EmbeddedSoContext.openChannel(SoChannel<?> channel)
new channel.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
SslAppProtocolSelector.selector(SoChannel<?> channel,
SSLEngine sslEngine,
List<String> protocols) |
Copyright © 2022–2024. All rights reserved.