Exemplo n.º 1
0
        public Automaton(String _Session, String _Firstname, String _Lastname, String _Password)
        {
            session = _Session;
            firstname = _Firstname;
            lastname = _Lastname;
            password = _Password;

            httpClient = new HttpClient();
            httpCallbacks = new Dictionary<CallBackEvent, List<CallBackURL>>();

            settings = new AutomatonSettings();
            /*
            #if DEBUG
            settings.autotp = true;
            #endif
            */
            total_chat = 0;
            total_ims = 0;
            permission_requests = 0;
            total_dialogs = 0;

            balance = 0;

            makeClient();
        }
Exemplo n.º 2
0
        public Automaton(String _Session, String _Firstname, String _Lastname, String _Password)
        {
            session   = _Session;
            firstname = _Firstname;
            lastname  = _Lastname;
            password  = _Password;

            httpClient    = new HttpClient();
            httpCallbacks = new Dictionary <CallBackEvent, List <CallBackURL> >();

            settings = new AutomatonSettings();

/*
 #if DEBUG
 *          settings.autotp = true;
 #endif
 */
            total_chat          = 0;
            total_ims           = 0;
            permission_requests = 0;
            total_dialogs       = 0;

            balance = 0;

            makeClient();
        }