|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object er.wopaypal.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(NSNotification n)
Method invoked by the NSNotificationCenter when it receives a DENIED notification from PayPalAction |
void |
handleFailedPaymentNotification(NSNotification n)
Method invoked by the NSNotificationCenter when it receives a FAILED notification from PayPalAction |
void |
handleInvalidPaymentNotification(NSNotification n)
Method invoked by the NSNotificationCenter when it receives a INVALID notification from PayPalAction |
void |
handleNotification(String targetMethodName,
NSNotification n)
handleNotification checks to see if the delegate object can perform the method name passed in as the targetMethodName parameter. |
void |
handlePendingPaymentNotification(NSNotification n)
Method invoked by the NSNotificationCenter when it receives a PENDING notification from PayPalAction |
void |
handleValidPaymentNotification(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(NSNotification n)
n
- NSNotificationpublic void handleFailedPaymentNotification(NSNotification n)
n
- NSNotificationpublic void handleInvalidPaymentNotification(NSNotification n)
n
- NSNotificationpublic void handlePendingPaymentNotification(NSNotification n)
n
- NSNotificationpublic void handleValidPaymentNotification(NSNotification n)
n
- NSNotificationpublic void handleNotification(String targetMethodName, NSNotification n)
targetMethodName
- Stringn
- NSNotification
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |