Class NettyPythonEventLoop.NettyTransport

java.lang.Object
io.micronaut.context.python.netty.NettyPythonEventLoop.NettyTransport
Direct Known Subclasses:
NettyPythonEventLoop.NettyDatagramTransport, NettyPythonEventLoop.NettySocketTransport
Enclosing class:
NettyPythonEventLoop

public abstract static class NettyPythonEventLoop.NettyTransport extends Object
What the Netty-backed stream and datagram transports share: the channel, the protocol, the provider that owns the channel, and the asyncio members that only depend on them.
  • Field Details

    • channel

      protected final io.netty.channel.Channel channel
    • protocol

      protected final org.graalvm.polyglot.Value protocol
    • support

      protected final io.micronaut.context.python.netty.NettyPythonEventLoopSupport support
    • closing

      protected volatile boolean closing
  • Constructor Details

    • NettyTransport

      protected NettyTransport(io.netty.channel.Channel channel, org.graalvm.polyglot.Value protocol, io.micronaut.context.python.netty.NettyPythonEventLoopSupport support)
  • Method Details

    • getExtraInfo

      public final @Nullable Object getExtraInfo(String name)
    • getExtraInfo

      public abstract @Nullable Object getExtraInfo(String name, @Nullable Object defaultValue)
    • get_extra_info

      public final @Nullable Object get_extra_info(String name)
    • get_extra_info

      public final @Nullable Object get_extra_info(String name, @Nullable Object defaultValue)
    • isClosing

      public final boolean isClosing()
    • is_closing

      public final boolean is_closing()
    • close

      public final void close()
    • abort

      public final void abort()
    • setProtocol

      public final void setProtocol(org.graalvm.polyglot.Value protocol)
    • set_protocol

      public final void set_protocol(org.graalvm.polyglot.Value protocol)
    • getProtocol

      public final org.graalvm.polyglot.Value getProtocol()
    • get_protocol

      public final org.graalvm.polyglot.Value get_protocol()