Esempio n. 1
0
    public override void Execute(INotification notification)
    {
        LoginProxy loginProxy = Facade.RetrieveProxy(LoginProxy.NAME) as LoginProxy;

        switch (notification.Name)
        {
        case NotiConst.LOGIN_REQUEST:
            loginProxy.SendLogin(notification.Body as TempLogRegDataVO);
            break;

        case NotiConst.REGISTER_REQUEST:
            loginProxy.SendRegister(notification.Body as TempLogRegDataVO);
            break;
        }
    }