Esempio n. 1
0
 public void onInteraction(StreamConsumer consumer, Interaction interaction, string hash)
 {
     try
     {
         m_form.deletesLog(".", false);
     }
     catch (Exception e)
     {
         m_form.deletesLog(e.GetType().ToString() + ": " + e.Message);
     }
 }
Esempio n. 2
0
 public void onDeleted(StreamConsumer consumer, Interaction interaction, string hash)
 {
     try
     {
         m_form.footballLog("Delete request for interaction " + interaction.getStringVal("interaction.id") + " of type " + interaction.getStringVal("interaction.type"));
         m_form.footballLog("Please delete it from your archive.");
         m_form.footballLog("--");
     }
     catch (Exception e)
     {
         m_form.footballLog(e.GetType().ToString() + ": " + e.Message);
     }
 }
Esempio n. 3
0
        public void onDeleted(StreamConsumer consumer, Interaction interaction, string hash)
        {
            try
            {
                m_form.deletesLog("X", false);

                m_count--;
                if (m_count == 0)
                {
                    m_form.deletesLog("\r\n\r\nStopping consumer...");
                    consumer.stop();
                }
            }
            catch (Exception e)
            {
                m_form.deletesLog(e.GetType().ToString() + ": " + e.Message);
            }
        }
Esempio n. 4
0
        public void onInteraction(StreamConsumer consumer, Interaction interaction, string hash)
        {
            try
            {
                m_form.footballLog("Type: " + interaction.getStringVal("interaction.type"));
                m_form.footballLog("Content: " + interaction.getStringVal("interaction.content"));
                m_form.footballLog("--");

                m_count--;
                if (m_count == 0)
                {
                    m_form.footballLog("Stopping consumer...");
                    consumer.stop();
                }
            }
            catch (Exception e)
            {
                m_form.footballLog(e.GetType().ToString() + ": " + e.Message);
            }
        }