예제 #1
0
 public static void Close(RhoDatabase /*!*/ self)
 {
     try
     {
         self.m_db.close();
     }
     catch (Exception ex)
     {
         LOG.HandleRubyException(ex, RhoRuby.rubyContext.CurrentException, "close");
     }
 }
예제 #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);
        }
예제 #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);
     }
 }