Flex : Is it possible to stop a remote call?

后端 未结 1 338
终归单人心
终归单人心 2021-01-16 07:02

I search for a long time, but I still not found the answer.

In common case, we keep the token of a remote method call, Flex -> Java for example. But, if the client k

相关标签:
1条回答
  • 2021-01-16 07:51

    As I understood it, an AsyncToken just provides extra data for some operation. You'll need to access that operation to cancel.

    IF you're calling an HTTPService, you use the cancel() method.

    If you're using a WebService, you should be able to call getOperation() method and then cancel() the corresponding operation.

    If you're using a RemoteObject you should be able to call getOperation() method and then cancel() on the corresponding operation.

    0 讨论(0)
提交回复
热议问题