protected override void RegisterEvent(WebChat Chat) { base.RegisterEvent(Chat); Chat.ws.NewMessageReceived += ws_NewMessageReceived; Chat.ws.NewSessionConnected += ws_NewSessionConnected; }
protected virtual void RegisterEvent(WebChat Chat) { }
public MessageModule(WebChat chat) { Chat = chat; RegisterEvent(Chat); }
public P2PModule(WebChat chat) : base(chat) { }