/// <summary>
 /// Constructor: Get stuff ready for interacting with Habitat.
 /// </summary>
 /// <param name="dburl">The URL of CouchDB</param>
 /// <param name="dbname">The habitat database name</param>
 /// <param name="callsign">The callsign of the phone</param>
 public Habitat(string dburl, string dbname, string callsign)
 {
     couch = new CouchInterface(dburl, dbname);
     _callsign = callsign;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor: Get stuff ready for interacting with Habitat.
 /// </summary>
 /// <param name="dburl">The URL of CouchDB</param>
 /// <param name="dbname">The habitat database name</param>
 /// <param name="callsign">The callsign of the phone</param>
 public Habitat(string dburl, string dbname, string callsign)
 {
     couch     = new CouchInterface(dburl, dbname);
     _callsign = callsign;
 }