MCPcopy Create free account
hub / github.com/e2wugui/zeze / getChannel

Method getChannel

ZezeJava/ZezeJava/src/main/java/Zeze/Net/TcpSocket.java:96–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94 }
95
96 public @NotNull SelectableChannel getChannel() { // SocketChannel or ServerSocketChannel, 一定不为null
97 return selectionKey.channel();
98 }
99
100 public @Nullable Socket getSocket() {
101 SelectableChannel sc = getChannel();

Callers 15

getSocketMethod · 0.95
getLocalAddressMethod · 0.95
testMmapMethod · 0.80
ProcessDaemonMethod · 0.80
fillMessageMethod · 0.80
appendMessageMethod · 0.80
fillBufferMethod · 0.80
PersistentAtomicLongMethod · 0.80
allocateMethod · 0.80
RecoveryFileMethod · 0.80
startLoggerMethod · 0.80
MonitorMethod · 0.80

Calls 1

channelMethod · 0.80

Tested by 1

testMmapMethod · 0.64