jap
Class JAPControllerMessage

java.lang.Object
  extended by anon.util.AbstractMessage
      extended by jap.JAPControllerMessage

public class JAPControllerMessage
extends AbstractMessage

This is the message implementation used for JAPController messages. It is used from the instance of the JAPController class to notify their observers about some events or changes of settings. The message code identifies the reason of the notification.


Field Summary
static int ASK_SAVE_PAYMENT_CHANGED
           
static int CURRENT_MIXCASCADE_CHANGED
           
static int INFOSERVICE_POLICY_CHANGED
          This message is sent after the automatic infoservice requests policy has been changed.
 
Constructor Summary
JAPControllerMessage(int a_messageCode)
          This creates a new JAPControllerMessage.
JAPControllerMessage(int a_messageCode, java.lang.Object a_messageData)
          This creates a new JAPControllerMessage.
 
Method Summary
 
Methods inherited from class anon.util.AbstractMessage
getMessageCode, getMessageData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INFOSERVICE_POLICY_CHANGED

public static final int INFOSERVICE_POLICY_CHANGED
This message is sent after the automatic infoservice requests policy has been changed.

See Also:
Constant Field Values

CURRENT_MIXCASCADE_CHANGED

public static final int CURRENT_MIXCASCADE_CHANGED
See Also:
Constant Field Values

ASK_SAVE_PAYMENT_CHANGED

public static final int ASK_SAVE_PAYMENT_CHANGED
See Also:
Constant Field Values
Constructor Detail

JAPControllerMessage

public JAPControllerMessage(int a_messageCode)
This creates a new JAPControllerMessage. The message data is set to null.

Parameters:
a_messageCode - The message code. See the constants in this class.

JAPControllerMessage

public JAPControllerMessage(int a_messageCode,
                            java.lang.Object a_messageData)
This creates a new JAPControllerMessage.

Parameters:
a_messageCode - The message code. See the constants in this class.
a_messageData - The data to send with the message.