JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
io.netty.channel

Interface Channel.Unsafe

    • Method Detail

      • localAddress

        java.net.SocketAddress localAddress()
        Return the SocketAddress to which is bound local or null if none.
      • remoteAddress

        java.net.SocketAddress remoteAddress()
        Return the SocketAddress to which is bound remote or null if none is bound yet.
      • connect

        void connect(java.net.SocketAddress remoteAddress,
         java.net.SocketAddress localAddress,
         ChannelPromise promise)
        Connect the Channel of the given ChannelFuture with the given remote SocketAddress. If a specific local SocketAddress should be used it need to be given as argument. Otherwise just pass null to it. The ChannelPromise will get notified once the connect operation was complete.
      • closeForcibly

        void closeForcibly()
        Closes the Channel immediately without firing any events. Probably only useful when registration attempt failed.
      • beginRead

        void beginRead()
        Schedules a read operation that fills the inbound buffer of the first ChannelInboundHandler in the ChannelPipeline. If there's already a pending read operation, this method does nothing.
      • write

        void write(java.lang.Object msg,
         ChannelPromise promise)
        Schedules a write operation.
      • voidPromise

        ChannelPromise voidPromise()
        Return a special ChannelPromise which can be reused and passed to the operations in Channel.Unsafe. It will never be notified of a success or error and so is only a placeholder for operations that take a ChannelPromise as argument but for which you not want to get notified.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 2008–2018 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /