write() — netty Function Reference
Architecture documentation for the write() function in EpollDomainSocketShutdownOutputByPeerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4e3535a7_5b83_27a3_4e55_d336315dca87["write()"] 43e5e3a3_f2ae_53e2_f83c_dabedc39539e["EpollDomainSocketShutdownOutputByPeerTest"] 4e3535a7_5b83_27a3_4e55_d336315dca87 -->|defined in| 43e5e3a3_f2ae_53e2_f83c_dabedc39539e style 4e3535a7_5b83_27a3_4e55_d336315dca87 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollDomainSocketShutdownOutputByPeerTest.java lines 57–65
@Override
protected void write(LinuxSocket s, int data) throws IOException {
CleanableDirectBuffer cleanableDirectBuffer = Buffer.allocateDirectBufferWithNativeOrder(4);
final ByteBuffer buf = cleanableDirectBuffer.buffer();
buf.putInt(data);
buf.flip();
s.send(buf, buf.position(), buf.limit());
cleanableDirectBuffer.clean();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does write() do?
write() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollDomainSocketShutdownOutputByPeerTest.java.
Where is write() defined?
write() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollDomainSocketShutdownOutputByPeerTest.java at line 57.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free