Class SendFromOwned<I extends io.netty5.util.Resource<I>,​T extends ResourceSupport<I,​T>>

  • All Implemented Interfaces:
    io.netty5.util.SafeCloseable, io.netty5.util.Send<I>, AutoCloseable

    public class SendFromOwned<I extends io.netty5.util.Resource<I>,​T extends ResourceSupport<I,​T>>
    extends Object
    implements io.netty5.util.Send<I>
    • Constructor Detail

      • SendFromOwned

        public SendFromOwned​(Owned<T> outgoing,
                             Drop<T> drop,
                             Class<?> concreteType)
    • Method Detail

      • receive

        public I receive()
        Specified by:
        receive in interface io.netty5.util.Send<I extends io.netty5.util.Resource<I>>
      • referentIsInstanceOf

        public boolean referentIsInstanceOf​(Class<?> cls)
        Specified by:
        referentIsInstanceOf in interface io.netty5.util.Send<I extends io.netty5.util.Resource<I>>
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface io.netty5.util.SafeCloseable
        Specified by:
        close in interface io.netty5.util.Send<I extends io.netty5.util.Resource<I>>