public static void main( final String[] args ) throws InterruptedException {
final CanonCamera camera = new CanonCamera();
if ( camera.openSession() ) {
final boolean result = camera.executeNow( new CanonCommand<Boolean>() {
@Override
public void run() {
// Do your thing here, like bulb shooting, setting properties,
// whatever you like!