Hi,

I've been looking at our callback pattern.

Can someone explain why we always seem to do this?:

caller.setCallback(caller.getTarget().createVolumeFromBaseImageCallBack(null,
null));

When setCallback is implemented like this:

public AsyncCallbackDispatcher<T, R> setCallback(Object useless) {

    return this;

 }

Why not just this?:

caller.getTarget().createVolumeFromBaseImageCallBack(null, null);

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Reply via email to