Interface NIOMediator

    • Method Detail

      • handleJICPPacket

        JICPPacket handleJICPPacket​(Connection c,
                                    JICPPacket p,
                                    InetAddress addr,
                                    int port)
                             throws ICPException
        Overloaded version of the handleJICPPacket() method including the Connection the incoming JICPPacket was received from. This information is important since, unlike normal mediators, a NIOMediator may not read packets from connections on its own (the JICPMediatorManager does that in general).
        Throws:
        ICPException
      • handleConnectionError

        void handleConnectionError​(Connection c,
                                   Exception e)
        Notify this NIOMediator that an error occurred on one of the Connections it was using. This information is important since, unlike normal mediators, a NIOMediator may not read packets from connections on its own (the JICPMediatorManager does that in general).
      • getProperties

        Properties getProperties()
        Retrieve the startup Properties for this NIOMediator.