// // Events from children // // MotdHandler private void HandleMotdComplete(object sender, MotdCompleteEventArgs ev) { Debug.Print("Server.HandleMotdComplete"); _messageOfTheDay = ev.Lines; _protocolHandler.EndCapture("Server.HandleRplMotdStart/HandleErrNoMotd running MotdHandler"); OnMotdComplete(ev.Lines); }
// // Events from children // // MotdHandler private void HandleMotdComplete( object sender, MotdCompleteEventArgs ev ) { Debug.Print( "Server.HandleMotdComplete" ); _messageOfTheDay = ev.Lines; _protocolHandler.EndCapture( "Server.HandleRplMotdStart/HandleErrNoMotd running MotdHandler" ); OnMotdComplete( ev.Lines ); }
// IRC event handlers private void Server_MotdComplete( object sender, MotdCompleteEventArgs ev ) { Debug.Print( "ServerPanel.Server_MotdComplete" ); if ( null != ev.Lines ) { Dispatcher.BeginInvoke( (Action<ICollection<string>>) _ShowMotdContent, ev.Lines ); } else { Dispatcher.BeginInvoke( (Action) _ShowMotdMissing ); } }
private void HandleMotdComplete( object sender, MotdCompleteEventArgs motdCompleteEventArgs ) { _server.ProtocolHandler.SendToServer( "JOIN #ziveirc-testing" ); }
// // Events from children // // MotdHandler private void HandleMotdComplete( object sender, MotdCompleteEventArgs ev ) { Debug.Print( "Server.HandleMotdComplete" ); _motd = ev.Lines; _protocolHandler.RestoreHandlers( ); OnMotdComplete( ev.Lines ); }