/// <summary> /// Allows you to register all the functions on a Pojo Type that have been attributed as [JsonRpcMethod] to the specified sessionId /// </summary> /// <param name="sessionID">The session to register against</param> /// <param name="instance">The instance containing JsonRpcMethods to register</param> public static void RegisterInstance(string sessionID, object instance) { ServiceBinder.BindService(sessionID, instance); }
protected JsonRpcService() { ServiceBinder.BindService(Handler.DefaultSessionId(), this); }
protected JsonRpcService(string sessionID) { ServiceBinder.BindService(sessionID, this); }
protected JsonRpcService(string sessionID) { ServiceBinder.BindService(sessionID, typeof(JsonRpcService)); }