Ejemplo n.º 1
0
        } // CONSTRUCTOR

        #endregion

        // ------------------------------------------------------------------------------
        // ------------------------------------------------------------------------------

        #region HttpRequestReturned
        private void channelNeg1Error(ChannelEventArgs e)
        {
            Debug.WriteLine(LOG_TAG + ": Channel API Neg 1 error.");
            channelAPI = new ChannelAPI(this, delegate
            {
                //channelAPI.connect(this.notificationID);
            });
            channelAPI.channelEvent += new ChannelEventListener(channelNotification);
            channelAPI.neg1error    += new ChannelEventListener(channelNeg1Error);
        }
Ejemplo n.º 2
0
        // CONSTRUCTOR
        public CollabrifyClient(string _gmail, string _displayName, string _accountGmail, string _access_token, bool _get_latest)
        {
            participant = new CollabrifyParticipant(0, _displayName, _gmail, 0);
              http_object = new HttpRequest__Object();
              channelAPI = new ChannelAPI(this);

              accountGmail = _accountGmail;
              accessToken = _access_token;
              getLatest = _get_latest;

              http_object.HttpRequestDone += new CollabrifyEventListener(httpReturned);
              channelAPI.channelEvent += new ChannelEventListener(channelNotification);
              //channelAPI.neg1error += new ChannelEventListener(channelNeg1Error);

              HttpRequest_Warmup.make_request(this, http_object);

              eventsPaused = false;
        }
Ejemplo n.º 3
0
        // CONSTRUCTOR
        public CollabrifyClient(string _gmail, string _displayName, string _accountGmail, string _access_token, bool _get_latest)
        {
            participant = new CollabrifyParticipant(0, _displayName, _gmail, 0);
            http_object = new HttpRequest__Object();
            channelAPI  = new ChannelAPI(this);

            accountGmail = _accountGmail;
            accessToken  = _access_token;
            getLatest    = _get_latest;

            http_object.HttpRequestDone += new CollabrifyEventListener(httpReturned);
            channelAPI.channelEvent     += new ChannelEventListener(channelNotification);
            //channelAPI.neg1error += new ChannelEventListener(channelNeg1Error);

            HttpRequest_Warmup.make_request(this, http_object);

            eventsPaused = false;
        } // CONSTRUCTOR
Ejemplo n.º 4
0
 private void channelNeg1Error(ChannelEventArgs e)
 {
     Debug.WriteLine(LOG_TAG + ": Channel API Neg 1 error.");
       channelAPI = new ChannelAPI(this, delegate
       {
     //channelAPI.connect(this.notificationID);
       });
       channelAPI.channelEvent += new ChannelEventListener(channelNotification);
       channelAPI.neg1error += new ChannelEventListener(channelNeg1Error);
 }