Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
jtsk_2.1
-
None
-
None
Description
In realtime scenarios it is often desirable to know, if a remote call can be executed within a certain duration, that is specified by the caller before making the call. If the complete call cannot be executed within the specified duration, it should return to the calling thread with an indication that a timeout occured.
In CORBA terminology this feature is called the RoundTripTimeout Policy. It would be nice to have something similar in JINI. A possible implementation could be a new invocation constraint class, perhaps named net.jini.core.constraint.RoundTripRelativeTime. This class could implement the same interfaces as net.jini.core.constraint.ConnectionRelativeTime, and could also have a constructor taking the desired timeout as argument.