Zitat von "Luiz Augusto von Dentz" <luiz.de...@gmail.com>: > On Wed, Dec 8, 2010 at 1:33 PM, Hendrik Sattler > <p...@hendrik-sattler.de> wrote: >> Additionally, setting the response to CONTINUE/SUCCESS is now >> _required_. It saves a lot of work for requests that are not wanted >> and makes it a lot easier for the application to not do anything wrong. > > Does it means that if the application don't set a response it will > have the same effect as a suspend? If yes, does it means > suspend/waiting on SRM?
No. At this stage, the application does only know the type of request, nothing else. So it should only decide if it can support it or not (based on implementation and current target). Suspend doesn't make sense at that point. Not setting any response means (as previously) that the request type is not implemented. Previously, the request was decoded anyway and other events were raised. This is not the case anymore. We can also invert that behaviour, using CONTINUE/SUCCESS as default. This would mean that the application only has NACK requests, not ACK them. Previouly, it was not really well-defined, so most application probably do both. The application is called with EV_REQCHECK shortly after EV_REQHINT with decoded information about the request. At that point, you can even decide to receive the data as stream (which gives you additional events after returning from the event, suspended or not) or if you want it buffered in the lib. You can initiate the suspend at that point or on the next call of EV_PROGRESS. The EV_PROGRESS now comes _before_ sending the CONTINUE response (thus having the same meaning for normal and single response mode). If you want to support Single Response Mode, you might have to take prior actions to make this possible for your case. HS ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Openobex-users mailing list Openobex-users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/openobex-users