//
//  BitSwarmEvent.m
//  SFS2X
//
//  Original development by Infosfer Game Technologies Ltd. | http://www.infosfer.com.
//
//  Maintained and developed by A51 Integrated.
//  Copyright 2012 A51 Integrated | http://a51integrated.com. All rights reserved.
//
#import "BitSwarmEvent.h"

NSString * const BitSwarmEvent_CONNECT = @"connect";
NSString * const BitSwarmEvent_DISCONNECT = @"disconnect";
NSString * const BitSwarmEvent_RECONNECTION_TRY = @"reconnectionTry";
NSString * const BitSwarmEvent_IO_ERROR = @"ioError";
NSString * const BitSwarmEvent_SECURITY_ERROR = @"securityError";


@implementation BitSwarmEvent


-(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];
	
	BitSwarmEvent *clone = [[BitSwarmEvent alloc] initWithType:clonedType params:clonedParams];
	
	return clone;
}



@end
