code: public Any execute(DeviceImpl device,Any in_any) throws DevFailed
  	{
  
  		Util.out4.println("State::execute(): arrived");
  	
  //
  // return state in a CORBA_Any
  //
  
  		Any out_any = Util.instance().get_orb().create_any();
  	
  		DevState sta = device.dev_state();
  		DevStateHelper.insert(out_any,sta);
  	
  		Util.out4.println("Leaving State::execute()");
  		return out_any;
  
  	}
docs: --------------------------------------------------------------------------