Class PendingActionMessage

java.lang.Object
net.solarnetwork.ocpp.domain.PendingActionMessage

public class PendingActionMessage extends Object
A "pending" action message, which is waiting for a result message to be received.
Version:
1.0
Author:
matt
  • Constructor Details

  • Method Details

    • getDate

      public long getDate()
      Get the message date.
      Returns:
      the date
    • isOutbound

      public boolean isOutbound()
      Get the outbound flag.
      Returns:
      the outbound flag
    • getMessage

      public ActionMessage<Object> getMessage()
      Get the message.
      Returns:
      the message; never null
    • getHandler

      Get the result handler.
      Returns:
      the handler; never null
    • doProcess

      public boolean doProcess()
      Call to process the pending action.
      Returns:
      true if the action can be processed, false if this method has already been called