Example #1
0
 public Form1()
 {
     InitializeComponent();
     AccountConfig config = new AccountConfig { AccountName = "pebbleit", AuthToken = "fee994663c634db07ea450f0b1de0cdbbc583d61" };
     _room = new CampfireRoom(config, 536178, true);
     _room.DataEmitted += PrintLine;
 }
Example #2
0
        public Form1()
        {
            InitializeComponent();
            AccountConfig config = new AccountConfig {
                AccountName = "pebbleit", AuthToken = "fee994663c634db07ea450f0b1de0cdbbc583d61"
            };

            _room              = new CampfireRoom(config, 536178, true);
            _room.DataEmitted += PrintLine;
        }
Example #3
0
 public CampfireChatApiAdapter()
 {
     AccountConfig config = new AccountConfig { AccountName = "pebbleit", AuthToken = "fee994663c634db07ea450f0b1de0cdbbc583d61" };
     _room = new CampfireRoom(config, 536178, true);
     _room.DataEmitted += _room_DataEmitted;
 }
Example #4
0
 public CampfireRoom(AccountConfig config, int roomId, bool useSsl)
 {
     _config = config;
     _roomId = roomId;
     _useSsl = useSsl;
 }
Example #5
0
 public CampfireRoom(AccountConfig config, int roomId, bool useSsl)
 {
     _config = config;
     _roomId = roomId;
     _useSsl = useSsl;
 }