Example #1
0
            protected virtual void OnConnectionNotify(ConnectionNotifyEventArgs e)
            {
                EventHandler <ConnectionNotifyEventArgs> handler = ConnectionNotify;

                if (handler != null)
                {
                    ConnectionNotify(this, e);
                }
            }
        protected virtual void OnConnectionNotify(ConnectionNotifyEventArgs e)
        {
            EventHandler<ConnectionNotifyEventArgs> handler = ConnectionNotify;

                if (handler != null)
                {
                    ConnectionNotify(this, e);
                }
        }
Example #3
0
 private void ConnectionNotify(object sender, ConnectionNotifyEventArgs e)
 {
     OnServerNotify(this, new NotifyEventArgs(e.message + "\n" +
                                              "Client Connection: " + e.clientConnection.ToString()));
 }
 private void ConnectionNotify(object sender, ConnectionNotifyEventArgs e)
 {
     OnServerNotify(this, new NotifyEventArgs(e.message + "\n" +
         "Client Connection: " + e.clientConnection.ToString()));
 }