//
//  DCMStoreSCU.h
//  OsiriX
//
//  Created by Lance Pysher on 12/20/04.
//  Copyright 2004 Macrad, LLC. All rights reserved.
//

/*************
The networking code of the DCMFramework is predominantly a port of the 11/4/04 version of the java pixelmed toolkit by David Clunie.
htt://www.pixelmed.com   
**************/

#import <Cocoa/Cocoa.h>
#import "DCMSOPClass.h"

@class DCMAssociation;
@class DCMCStoreResponseHandler;
@class DCMTransferSyntax;
@class DCMObject;

@interface DCMStoreSCU : DCMSOPClass {
	//int debugLevel;
	int compression;
	//DCMAssociation *association;
	DCMCStoreResponseHandler *dataHandler;
	NSMutableArray *affectedSOPClassUIDs;
	NSString *affectedSOPClassUID;
	NSArray *filesToSend;
	DCMTransferSyntax *preferredSyntax;
	DCMTransferSyntax *transferSyntax;
	int numberOfFiles;
	unsigned char usePresentationContextID;
	id moveHandler;
}

/*
Parameters:
@"filestoSend"
@"compression"
@"transferSyntax"
plus DCMAssociation parameters
*/
+ (id)sendWithParameters:(NSDictionary *)parameters;
- (id)initWithParameters:(NSDictionary *)params;
- (BOOL)createAssociationWithParameters:(NSDictionary *)parameters;
- (void)send;
- (void)sendObject:(DCMObject *)dcmObject;


@end
