示例#1
0
 void ICarl.OnAdvanceUserActivity(AdvanceUserActivity activity)
 {
     foreach (Firehose h in m_firehoses)
     {
         h.PubUserActivity(activity);
     }
 }
示例#2
0
        public void PubUserActivity(AdvanceUserActivity activity)
        {
            IFirehoseUserActivityListener l = m_activityListener;

            if (l != null)
            {
                if (m_userActivityChannelFilter == -1 || m_userActivityChannelFilter == activity.ChannelId)
                {
                    l.OnUserActivity(activity);
                }
            }
        }