//
//  DCMStoreSCPListener.h
//  OsiriX
//
//  Created by Lance Pysher on 12/22/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>

@class ONTCPSocket;
@class DCMCompositeResponseHandler;
@interface DCMStoreSCPListener : NSObject {

	NSString *folder;
	NSString *calledAET;
	NSString *callingAET;
	int port;
	ONTCPSocket *socket;
	//DCMCompositeResponseHandler *dataHandler;
	BOOL listen;
	

}
+ (id)listenWithParameters:(NSDictionary *)params;
- (id)initWithParameters:(NSDictionary *)params;
- (void)listen:(id)object;
- (void)stop;
- (void)dispatch:(ONTCPSocket *)connectionTCPSocket;

@end
