Package akka.io

Interface ChannelRegistry


  • public interface ChannelRegistry
    Interface behind which we hide our selector management logic from the connection actors
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void register​(java.nio.channels.SelectableChannel channel, int initialOps, ActorRef channelActor)
      Registers the given channel with the selector, creates a ChannelRegistration instance for it and dispatches it back to the channelActor calling this register
    • Method Detail

      • register

        void register​(java.nio.channels.SelectableChannel channel,
                      int initialOps,
                      ActorRef channelActor)
        Registers the given channel with the selector, creates a ChannelRegistration instance for it and dispatches it back to the channelActor calling this register