| 程序包 | 说明 |
|---|---|
| net.hasor.neta.channel |
| 限定符和类型 | 字段和说明 |
|---|---|
protected net.hasor.cobble.concurrent.future.Future<NetListen> |
NetListen.closeFuture |
| 限定符和类型 | 方法和说明 |
|---|---|
NetListen |
NetaSocket.findListen(int port)
find NetListen by listenPort
|
NetListen |
NetChannel.getListen()
Returns the
NetListen that accepts this channel |
NetListen |
NetaSocket.listen(InetSocketAddress listen,
PipeInitializer pipeline,
NetListenOptions options)
using TCP/IP Listen on the port and bind Application layer network protocol to the accepted channels.
|
NetListen |
NetaSocket.listen(int listenPort,
PipeInitializer pipeline)
using TCP/IP Listen on the port and bind Application layer network protocol to the accepted channels.
|
NetListen |
NetaSocket.listen(String listenAddr,
int listenPort,
PipeInitializer pipeline)
using TCP/IP Listen on the port and bind Application layer network protocol to the accepted channels.
|
NetListen |
NetListen.resume()
set suspend is false
all new accept socket will be closed when suspend = true.
|
NetListen |
NetListen.suspend()
set suspend is true
all new accept socket will be closed when suspend = true.
|
| 限定符和类型 | 方法和说明 |
|---|---|
net.hasor.cobble.concurrent.future.Future<NetListen> |
NetListen.close() |
net.hasor.cobble.concurrent.future.Future<NetListen> |
NetListen.closeNow() |
Copyright © 2022–2024. All rights reserved.