Esempio n. 1
0
 private void ProcessUpdate(PWMessage message)
 {
     if (message != null)
     {
         m_lastUpdated = Utils.GetFrapoch();
         ProcessRemoteData(message);
         Save();
     }
 }
Esempio n. 2
0
        protected override void ProcessRemoteData(PWMessage message)
        {
#if PW_DEBUG
            Debug.LogFormat("[PWNews-{0}]: Processing remote data\n" +
                            "Title: '{1}'\n" +
                            "Url: '{2}'\n" +
                            "Body: '{3}'\n" +
                            ".", m_id, message.title, message.url, message.bodyContent);
#endif
            Title = message.title;
            Url   = message.url;
            Body  = message.bodyContent;
        }
Esempio n. 3
0
 protected abstract void ProcessRemoteData(PWMessage message);