|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecter.wopaypal.PayPalNotificationListener.Observer
public static class PayPalNotificationListener.Observer
The Observer is the object which is registered (in WOPayPal) to listen for the NSNotifications broadcast by the PayPalAction's ipnAction method. When its methods receives a notification, they call handleNotification, passing the notification name and the Notification itself as the parameter to that method call.
Constructor Summary | |
---|---|
PayPalNotificationListener.Observer()
|
Method Summary | |
---|---|
void |
handleDeniedPaymentNotification(com.webobjects.foundation.NSNotification n)
Method invoked by the NSNotificationCenter when it receives a DENIED notification from PayPalAction |
void |
handleFailedPaymentNotification(com.webobjects.foundation.NSNotification n)
Method invoked by the NSNotificationCenter when it receives a FAILED notification from PayPalAction |
void |
handleInvalidPaymentNotification(com.webobjects.foundation.NSNotification n)
Method invoked by the NSNotificationCenter when it receives a INVALID notification from PayPalAction |
void |
handleNotification(java.lang.String targetMethodName,
com.webobjects.foundation.NSNotification n)
handleNotification checks to see if the delegate object can perform the method name passed in as the targetMethodName parameter. |
void |
handlePendingPaymentNotification(com.webobjects.foundation.NSNotification n)
Method invoked by the NSNotificationCenter when it receives a PENDING notification from PayPalAction |
void |
handleValidPaymentNotification(com.webobjects.foundation.NSNotification n)
Method invoked by the NSNotificationCenter when it receives a VALID notification from PayPalAction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PayPalNotificationListener.Observer()
Method Detail |
---|
public void handleDeniedPaymentNotification(com.webobjects.foundation.NSNotification n)
n
- NSNotificationpublic void handleFailedPaymentNotification(com.webobjects.foundation.NSNotification n)
n
- NSNotificationpublic void handleInvalidPaymentNotification(com.webobjects.foundation.NSNotification n)
n
- NSNotificationpublic void handlePendingPaymentNotification(com.webobjects.foundation.NSNotification n)
n
- NSNotificationpublic void handleValidPaymentNotification(com.webobjects.foundation.NSNotification n)
n
- NSNotificationpublic void handleNotification(java.lang.String targetMethodName, com.webobjects.foundation.NSNotification n)
targetMethodName
- Stringn
- NSNotification
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |