Home | Trees | Indices | Help |
|
---|
|
Callback used for waiting until DeleteHandlePrx will return true on finished(). The block(long) method will wait the given number of milliseconds and then return the number of errors if any or None if the delete is not yet complete. Example usage: cb = DeleteCallbackI(client, handle) errors = None while (errors is None): errors = cb.block(500)
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Calls block(long) "loops" number of times with the "ms" argument. This means the total wait time for the delete to occur is: loops X ms. Sensible values might be 10 loops for 500 ms, or 5 seconds. @param loops Number of times to call block(long) @param ms Number of milliseconds to pass to block(long @throws omero.LockTimeout if block(long) does not return a non-null value after loops calls. |
Should only be used if the default logic of the handle methods is kept in place. If "event.set" does not get called, this method will always block for the given milliseconds. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Nov 12 17:54:59 2010 | http://epydoc.sourceforge.net |