コード例 #1
0
//        delegate void EventThread(int i);


        public int Create(string body)
        {
/*
 *          web_service l_ws = new web_service();
 *          FileStream fs = new FileStream("test.txt", FileMode.Open);
 *          XmlSerializer x = new XmlSerializer(typeof(web_service));
 *          web_service g = new web_service();
 *          g = (web_service)x.Deserialize(fs);
 *          Type tp  = g.Item.GetType();
 *          return 0;
 */
            m_EventHandler  = new eventhandler();
            m_EventResponse = new eventhandler_response();
            m_ws            = new web_service();
            return(Subscribe(body));
        }
コード例 #2
0
 //        delegate void EventThread(int i);
 public int Create(string body)
 {
     /*
     web_service l_ws = new web_service();
     FileStream fs = new FileStream("test.txt", FileMode.Open);
     XmlSerializer x = new XmlSerializer(typeof(web_service));
     web_service g = new web_service();
     g = (web_service)x.Deserialize(fs);
     Type tp  = g.Item.GetType();
     return 0;
     */
     m_EventHandler = new eventhandler();
     m_EventResponse = new eventhandler_response();
     m_ws = new web_service();
     return Subscribe(body);
 }