| 程序包 | 说明 |
|---|---|
| net.hasor.neta.channel |
| 限定符和类型 | 字段和说明 |
|---|---|
protected net.hasor.cobble.concurrent.future.Future<NetChannel> |
NetChannel.closeFuture |
| 限定符和类型 | 方法和说明 |
|---|---|
NetChannel |
NetListen.findChannel(long channelID)
Search for NetChannel by id,
return null if NetChannel is not from this NetListen
|
| 限定符和类型 | 方法和说明 |
|---|---|
net.hasor.cobble.concurrent.future.Future<NetChannel> |
NetChannel.close() |
net.hasor.cobble.concurrent.future.Future<NetChannel> |
NetChannel.closeNow() |
net.hasor.cobble.concurrent.future.Future<NetChannel> |
NetaSocket.connect(InetSocketAddress remoteAddr,
PipeInitializer initializer)
using TCP/IP connect to remote, and bind Application layer network protocol on this channel.
|
net.hasor.cobble.concurrent.future.Future<NetChannel> |
NetaSocket.connect(int localPort,
PipeInitializer pipeline)
using TCP/IP connect to local port, and bind Application layer network protocol on this channel.
|
net.hasor.cobble.concurrent.future.Future<NetChannel> |
NetaSocket.connect(String remoteAddr,
int localPort,
PipeInitializer pipeline)
using TCP/IP connect to local port, and bind Application layer network protocol on this channel.
|
net.hasor.cobble.concurrent.future.Future<NetChannel> |
NetChannel.flush()
flash
|
net.hasor.cobble.concurrent.future.Future<NetChannel> |
NetChannel.sendData(Object writeData,
String pipeName)
sent data to remote, The network IO transfer operation is performed asynchronously.
|
Copyright © 2022–2024. All rights reserved.