public interface ISelectorLoopController
Modifier and Type | Method and Description |
---|---|
boolean |
processAccepted(SelectableChannel channel)
Called to determine if the calling selector loop is permitted to process
the accepted channel.
|
boolean |
processConnection(SelectableChannel channel)
Called to determine if the calling selector loop is permitted to process
the connecting channel.
|
boolean processAccepted(SelectableChannel channel)
channel
- the channel that was acceptedtrue
if the accepted channel can be processedboolean processConnection(SelectableChannel channel)
channel
- the connecting channeltrue
if the connecting channel can be processedCopyright © 2017–2022 SNF4J.ORG. All rights reserved.