Interface RequestReceiver

  • All Known Implementing Classes:
    TOMLayer

    public interface RequestReceiver
    Interface meant for objects that receive requests from clients
    • Method Detail

      • requestReceived

        void requestReceived​(TOMMessage msg,
                             boolean fromClient)
        This is the method invoked by the CommunicationSystemServerSide, to deliver a client request. The code to handle requests should be put here.
        Parameters:
        msg - The request delivered by the TOM layer
        fromClient - The request was received from a client