//
//  DCMPDataPDU.h
//  OsiriX
//
//  Created by Lance Pysher on 12/12/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 "DCM_PDU.h"

@interface DCMPDataPDU : DCM_PDU {
	NSMutableArray *pdvList;
}
//outgoing PDU
+ (id)pDataPDUWithPDVs:(NSMutableArray *)pdvs;
//incoming PDU
+ (id)pDataPDUWithData:(NSData *)data;
- (id)initPDVs:(NSMutableArray *)pdvs;
- (id)initWithData:(NSData *)data;
- (NSArray *)pdvList;
- (BOOL)containsLastCommandFragment;
- (BOOL)containsLastDataFragment;
@end
