Class NettyPythonEventLoop.NettySocketFacade

java.lang.Object
io.micronaut.context.python.netty.NettyPythonEventLoop.NettySocketFacade
Enclosing class:
NettyPythonEventLoop

public static final class NettyPythonEventLoop.NettySocketFacade extends Object
Socket-like facade for transport extras. Raw Netty channels stay internal to the runtime.

Python libraries commonly inspect transport.get_extra_info("socket") for getsockname() or getpeername(). This facade satisfies that expectation without exposing the Netty channel object.

  • Method Details

    • getsockname

      public @Nullable Object getsockname()
    • getpeername

      public @Nullable Object getpeername()