//
//  BBEvent.m
//  SFS2X
//
//  Created by Wayne Helman on 2012-08-14.
//  Copyright (c) 2012 A51 Integrated | http://a51integrated.com. All rights reserved.
//

#import "BBEvent.h"

NSString * const BBEvent_CONNECT = @"bb-connect";
NSString * const BBEvent_DISCONNECT = @"bb-disconnect";
NSString * const BBEvent_DATA = @"bb-data";
NSString * const BBEvent_IO_ERROR = @"bb-ioError";
NSString * const BBEvent_SECURITY_ERROR = @"bb-securityError";


@implementation BBEvent



-(id)initWithType:(NSString *)type params:(NSDictionary *)params
{
	if ((self = [super initWithType:type params:params])) {
		
	}
	
	return self;
}

-(id)clone
{
	NSDictionary *clonedParams = [NSDictionary dictionaryWithDictionary:_params];
	NSString *clonedType = [NSString stringWithString:_type];
	
	BBEvent *clone = [[BBEvent alloc] initWithType:clonedType params:clonedParams];
	
	return clone;
}
@end
