//
//  ConfigData.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 "ConfigData.h"


@implementation ConfigData


@synthesize host;
@synthesize port;
@synthesize udpHost;
@synthesize udpPort;
@synthesize zone;
@synthesize debug;
@synthesize httpPort;
@synthesize httpsPort;
@synthesize useBlueBox;
@synthesize blueBoxPollingRate;

-(id)init
{
	if ((self = [super init]))
    {
		host = @"127.0.0.1";
		port = 9933;
        udpHost = nil;
        udpPort = -1;
		zone = nil;
		debug = NO;
		httpPort = 8080;
        httpsPort = 8443;
		useBlueBox = YES;
		blueBoxPollingRate = .7;
	}
	
	return self;
}


-(NSString *)description
{
    return [NSString stringWithFormat:@"[Host: %@ Port: %ld Zone: %@]", host, (long)port, zone];
}

@end
