privilegedBind() — netty Function Reference
Architecture documentation for the privilegedBind() function in NioUdtByteConnectorChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 183086ba_b8b1_9b22_ebed_625961fc8c56["privilegedBind()"] 2579800b_abdf_2512_fff2_d79024a6fa96["NioUdtByteConnectorChannel"] 183086ba_b8b1_9b22_ebed_625961fc8c56 -->|defined in| 2579800b_abdf_2512_fff2_d79024a6fa96 66e32a26_8c77_7612_013a_60b85ccac27e["doBind()"] 66e32a26_8c77_7612_013a_60b85ccac27e -->|calls| 183086ba_b8b1_9b22_ebed_625961fc8c56 style 183086ba_b8b1_9b22_ebed_625961fc8c56 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteConnectorChannel.java lines 195–208
private static void privilegedBind(final SocketChannelUDT socketChannel, final SocketAddress localAddress)
throws IOException {
try {
AccessController.doPrivileged(new PrivilegedExceptionAction<Void>() {
@Override
public Void run() throws IOException {
socketChannel.bind(localAddress);
return null;
}
});
} catch (PrivilegedActionException e) {
throw (IOException) e.getCause();
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does privilegedBind() do?
privilegedBind() is a function in the netty codebase, defined in transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteConnectorChannel.java.
Where is privilegedBind() defined?
privilegedBind() is defined in transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteConnectorChannel.java at line 195.
What calls privilegedBind()?
privilegedBind() is called by 1 function(s): doBind.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free