|
From: <rep...@mo...> - 2005-01-19 03:38:53
|
Author: mod-pubsub-developer
Date: Tue Jan 18 10:16:25 2005
New Revision: 24
Modified:
flash_repubsub/README
Log:
Fixed a typo in unsubscribe example. Added clarification in subscribe example.
Modified: flash_repubsub/README
==============================================================================
--- flash_repubsub/README (original)
+++ flash_repubsub/README Tue Jan 18 10:16:25 2005
@@ -206,6 +206,7 @@
routeId = myRepubsubClient.subscribe("/what/alerts", onMessage, {do_max_age:"infinity"}, onSubscribeStatus);
// or: myRepubsubClient.subscribe("/what/alerts", onMessage);
// or: myRepubsubClient.subscribe("/what/alerts");
+ // or: myRepubsubClient.subscribe("/what/alerts", undefined, undefined, onSubscribeStatus);
unsubscribe(kn_route_location:String, statusHandler):void
@@ -232,7 +233,7 @@
trace("onUnsubscribeStatus: [" + message.status + "]");
}
- myRepubsubClient.unsubscribe(routeId, onSubscribeStatus);
+ myRepubsubClient.unsubscribe(routeId, onUnsubscribeStatus);
// or: myRepubsubClient.unsubscribe(routeId);
|