Class MessageReceivedJob

  • All Implemented Interfaces:
    Job

    class MessageReceivedJob
    extends JobImpl
    Async job to notify the client that a new message is available for them, or just send it directly if specified.
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Job
        Descriptive name of the task
      • runJob

        public void runJob()
        Description copied from interface: Job
        Actually perform the task. This call blocks until the Job is complete.
      • receiveMessage

        public boolean receiveMessage()
        Same as runJob() but with a return value
        Returns:
        success
        Since:
        0.9.29