\r
namespace Stratum\r
{\r
- public class Stratum\r
+ public abstract class Stratum\r
{\r
private Socket client;\r
\r
}\r
\r
/// <summary>\r
- /// Notifications stub which is run in a separate thread. If you wish to implement real notification processing then just override this method in the derived class.\r
+ /// Notifications stub which is run in a separate thread. You need to override this method in the derived class.\r
/// </summary>\r
/// <param name="NotificationMethod">Method name</param>\r
/// <param name="NotificationData">Array of values</param>\r
- private static void NotificationHandler(string NotificationMethod, JArray NotificationData)\r
- {\r
- Console.WriteLine("\nNotification: Method={0}, data={1}", NotificationMethod, NotificationData.ToString());\r
- }\r
+ public abstract void NotificationHandler (string NotificationMethod, JArray NotificationData);\r
}\r
\r
}
\ No newline at end of file