ShieldCallback(OnSuccess onSuccess,OnError onError) { this.onSuccess = onSuccess; this.onError = onError; }