Interface AioProxy

  • All Known Implementing Classes:
    Aio

    public interface AioProxy
    Interface for the Aio API primarily to be used by an AioCallback. Each of these methods should correspond to those commonly used by Aio callbacks in NNG programs. In practice, those using Context will use a ContextProxy when writing event handlers and not call methods on the AioProxy directly.
    • Method Detail

      • setMessage

        void setMessage​(Message msg)
      • sleep

        void sleep​(int millis)
      • begin

        boolean begin()
      • finish

        void finish​(int error)
      • send

        void send​(Socket socket)
      • receive

        void receive​(Socket socket)