EpollDomainSocketShutdownOutputByPeerTest Class — netty Architecture
Architecture documentation for the EpollDomainSocketShutdownOutputByPeerTest class in EpollDomainSocketShutdownOutputByPeerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 43e5e3a3_f2ae_53e2_f83c_dabedc39539e["EpollDomainSocketShutdownOutputByPeerTest"] e39c6a07_935d_6e9f_114e_ece552dc2e6d["EpollDomainSocketShutdownOutputByPeerTest.java"] 43e5e3a3_f2ae_53e2_f83c_dabedc39539e -->|defined in| e39c6a07_935d_6e9f_114e_ece552dc2e6d f98e38e5_5768_eb1c_171f_1451b2b7644b["newFactories()"] 43e5e3a3_f2ae_53e2_f83c_dabedc39539e -->|method| f98e38e5_5768_eb1c_171f_1451b2b7644b 4a789d93_972c_4d00_a13a_aa3b2c6a3803["SocketAddress()"] 43e5e3a3_f2ae_53e2_f83c_dabedc39539e -->|method| 4a789d93_972c_4d00_a13a_aa3b2c6a3803 cc7cad39_494e_98a6_4dd4_1c30f180324f["shutdownOutput()"] 43e5e3a3_f2ae_53e2_f83c_dabedc39539e -->|method| cc7cad39_494e_98a6_4dd4_1c30f180324f c25f0bdd_bb1a_0a24_16a7_294d36f42005["connect()"] 43e5e3a3_f2ae_53e2_f83c_dabedc39539e -->|method| c25f0bdd_bb1a_0a24_16a7_294d36f42005 e3cf1a6e_6fb8_44aa_51b5_332bf871e256["close()"] 43e5e3a3_f2ae_53e2_f83c_dabedc39539e -->|method| e3cf1a6e_6fb8_44aa_51b5_332bf871e256 4e3535a7_5b83_27a3_4e55_d336315dca87["write()"] 43e5e3a3_f2ae_53e2_f83c_dabedc39539e -->|method| 4e3535a7_5b83_27a3_4e55_d336315dca87 139bc3dd_7747_beb9_2d88_a0c0f6b725fb["LinuxSocket()"] 43e5e3a3_f2ae_53e2_f83c_dabedc39539e -->|method| 139bc3dd_7747_beb9_2d88_a0c0f6b725fb
Relationship Graph
Source Code
transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollDomainSocketShutdownOutputByPeerTest.java lines 30–71
public class EpollDomainSocketShutdownOutputByPeerTest extends AbstractSocketShutdownOutputByPeerTest<LinuxSocket> {
@Override
protected List<BootstrapFactory<ServerBootstrap>> newFactories() {
return EpollSocketTestPermutation.INSTANCE.serverDomainSocket();
}
@Override
protected SocketAddress newSocketAddress() {
return EpollSocketTestPermutation.newDomainSocketAddress();
}
@Override
protected void shutdownOutput(LinuxSocket s) throws IOException {
s.shutdown(false, true);
}
@Override
protected void connect(LinuxSocket s, SocketAddress address) throws IOException {
s.connect(address);
}
@Override
protected void close(LinuxSocket s) throws IOException {
s.close();
}
@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();
}
@Override
protected LinuxSocket newSocket() {
return LinuxSocket.newSocketDomain();
}
}
Source
Frequently Asked Questions
What is the EpollDomainSocketShutdownOutputByPeerTest class?
EpollDomainSocketShutdownOutputByPeerTest is a class in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollDomainSocketShutdownOutputByPeerTest.java.
Where is EpollDomainSocketShutdownOutputByPeerTest defined?
EpollDomainSocketShutdownOutputByPeerTest is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollDomainSocketShutdownOutputByPeerTest.java at line 30.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free