Class ProcessMessageRunnable

java.lang.Object
host.anzo.simon.ProcessMessageRunnable
All Implemented Interfaces:
Runnable

public class ProcessMessageRunnable extends Object implements Runnable
This class is feed with all kind of messages (requests/invokes and returns) and is then run on a thread pool.

The message gets then processed and answered. Either ProcessMessageRunnable invokes the requested method and returns the result to the remote, or it passes the result to the dispatcher where then the requesting call is getting answered.

  • Constructor Details

    • ProcessMessageRunnable

      protected ProcessMessageRunnable(Dispatcher dispatcher, org.apache.mina.core.session.IoSession session, AbstractMessage abstractMessage)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable