//
//  LoginConnection.h
//  VisIVOMobile
//

#import <Foundation/Foundation.h>


@interface LoginConnection : NSObject {
	NSURL *myURL;
	NSMutableString *status;
	NSMutableData *receivedData;
	NSURLConnection *_connection;
	NSMutableURLRequest *_request;
	NSString *username;
	NSString *password;

	
	id delegate;
	SEL delegateMethod;
	SEL delegateErrorMethod;
    
	NSMutableDictionary *receivedDictionary;


		
}
- (id)initWithReference:(NSString *)anURL username:(NSString *)user password:(NSString *)passwd;
- (void)makePostRequest;


@property(nonatomic, assign) id delegate;
@property (nonatomic) SEL delegateMethod;
@property(nonatomic) SEL delegateErrorMethod;
@property(nonatomic, retain) NSMutableData *receivedData;
@property(nonatomic, retain) NSMutableDictionary *receivedDictionary;



@end
