public ORNGRPCService(string uri, Page page, bool editMode, string[] chnls)
{
this.om = OpenSocialManager.GetOpenSocialManager(uri, page, false);
this.channels.AddRange(chnls);
// Add to Session so that it does not get prematurely garbage collected
HttpContext.Current.Session[KEY_PREFIX + ":" + om.GetGuid().ToString()] = this;
managers.Add(new WeakReference(this));
DebugLogging.Log("ORNGRPCService created :" + om.GetGuid().ToString() + " channels " + this.channels.ToString());
}