Exemplo n.º 1
0
 public static void Close(RhoDatabase /*!*/ self)
 {
     try
     {
         self.m_db.close();
     }
     catch (Exception ex)
     {
         LOG.HandleRubyException(ex, RhoRuby.rubyContext.CurrentException, "close");
     }
 }
Exemplo n.º 2
0
        public static Object __rhoGetCallbackObject(Object /*!*/ self, int index)
        {
            Object res = null;

            try
            {
                res = RhodesApp.getCallbackObject(index);
            }
            catch (Exception ex)
            {
                LOG.HandleRubyException(ex, RhoRuby.rubyContext.CurrentException, "__rhoGetCallbackObject");
            }

            return(res);
        }
Exemplo n.º 3
0
 public static bool is_syncing(RubyModule /*!*/ self)
 {
     try
     {
         return(SyncThread.getSyncEngine().isSyncing());
     }
     catch (Exception ex)
     {
         LOG.HandleRubyException(ex, RhoRuby.rubyContext.CurrentException, "is_syncing");
         return(false);
     }
 }