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); } }
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); } }
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); } }
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); } }