wt.ixb.handlers.netmarkets
Class JSPFeedback

java.lang.Object
  extended by wt.ixb.handlers.netmarkets.JSPFeedback
All Implemented Interfaces:
PropertyChangeListener, EventListener

public class JSPFeedback
extends Object
implements PropertyChangeListener

Class to write pass messages to an NmFeedbackSpec object. This class can be used by server-side methods to send feedback messages to arbitrary clients which understand how to use an NmFeedbackSpec object. The calling program must have previously constructed a JSPFeedback object around its NmFeedbackSpec object.

Supported API: true
Extendable: true


Method Summary
 void destroy()
          Destroy this JSPFeedback object.
static void sendFeedback(LocalizableMessage feedback)
          Send feedback LocalizableMessage to NmFeedbackSpec.
static void sendFeedback(String feedback)
          Send feedback string to NmFeedbackSpec.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

destroy

public void destroy()
Destroy this JSPFeedback object.

Supported API: true


sendFeedback

public static void sendFeedback(String feedback)
Send feedback string to NmFeedbackSpec.

Supported API: true

Parameters:
feedback - the String to write and flush

sendFeedback

public static void sendFeedback(LocalizableMessage feedback)
Send feedback LocalizableMessage to NmFeedbackSpec. The message will be localized to locale of the response.

Supported API: true

Parameters:
feedback - the String to write and flush