Example #1
0
        //
        // 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);
        }
Example #2
0
 //
 // 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 );
            }
        }
Example #4
0
 private void HandleMotdComplete( object sender, MotdCompleteEventArgs motdCompleteEventArgs ) {
     _server.ProtocolHandler.SendToServer( "JOIN #ziveirc-testing" );
 }
Example #5
0
 //
 // Events from children
 //
 // MotdHandler
 private void HandleMotdComplete( object sender, MotdCompleteEventArgs ev )
 {
     Debug.Print( "Server.HandleMotdComplete" );
     _motd = ev.Lines;
     _protocolHandler.RestoreHandlers( );
     OnMotdComplete( ev.Lines );
 }