Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » how to cancel remote async call?
how to cancel remote async call? [message #830385] Tue, 27 March 2012 15:02 Go to next message
Alexander Sydorenko is currently offline Alexander SydorenkoFriend
Messages: 1
Registered: March 2012
Junior Member
Hello.

I'm using async remote calls that return IFuture.
I'd like to be able to cancel a call, both on server and on client.
IFuture has a method cancel() which works on client but doesn't stop server code processing the call. Is there any way to stop remote thread?
Re: how to cancel remote async call? [message #940449 is a reply to message #830385] Thu, 11 October 2012 16:42 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Alexander.

If you mean a way to stop the remote thread *from the client*, then the answer is no...there is no facility to do this within remote services.

If you want to stop the thread on the server (under some appropriate conditions)...this is possible with ECF...and the generic provider can do so...although not all providers support this.

If you would like to do this with the generic provider, then please let us know via a posting to ecf-dev@eclipse.org, and we'll point at an explanation of how to do so.

Thanks,

Scott


Previous Topic:Socket issue and ECF behavior.
Next Topic:Own Demo with ECF Generic Container does not work
Goto Forum:
  


Current Time: Sat Dec 20 01:42:10 GMT 2014

Powered by FUDForum. Page generated in 0.01633 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software