//
// IpuDynaProxy.h
// ipu-count-client
//
// Created by tony on 16/3/4.
// Copyright © 2016年 shelomi. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "IIpuCountMonitor.h"
#define BEFORE_ADVICE @"beforeAdvice:params:"
#define AFTER_RETURN_ADVICE @"afterReturnAdvice:params:"
#define AFTER_THROW_ADVICE @"afterThrowAdvice:params:AndException:"
#define AFTER_ADVICE @"afterAdvice:params:"
/*
* 实现动态代理
* 根据实例产生代理对象
* java中动态代理使用InvocationHandler
*/
@interface IpuDynaProxy : NSObject <IIpuCountMonitor>
- (id) initWithObject:(id)object;
@end
|