dcmnet/include/dcmlayer.h

00001 /* 00002 * 00003 * Copyright (C) 1998-2003, OFFIS 00004 * 00005 * This software and supporting documentation were developed by 00006 * 00007 * Kuratorium OFFIS e.V. 00008 * Healthcare Information and Communication Systems 00009 * Escherweg 2 00010 * D-26121 Oldenburg, Germany 00011 * 00012 * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY 00013 * REGARDING THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR 00014 * FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR 00015 * ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND 00016 * PERFORMANCE OF THE SOFTWARE IS WITH THE USER. 00017 * 00018 * Module: dcmnet 00019 * 00020 * Author: Marco Eichelberg 00021 * 00022 * Purpose: 00023 * classes: DcmTransportLayer 00024 * 00025 * Last Update: $Author: joergr $ 00026 * Update Date: $Date: 2003/12/05 10:39:45 $ 00027 * CVS/RCS Revision: $Revision: 1.5 $ 00028 * Status: $State: Exp $ 00029 * 00030 * CVS/RCS Log at end of file 00031 * 00032 */ 00033 00034 #ifndef DCMLAYER_H 00035 #define DCMLAYER_H 00036 00037 #include "osconfig.h" /* make sure OS specific configuration is included first */ 00038 #include "oftypes.h" 00039 #include "ofstring.h" 00040 00041 BEGIN_EXTERN_C 00042 #ifdef HAVE_UNISTD_H 00043 #include <unistd.h> 00044 #endif 00045 END_EXTERN_C 00046 00050 enum DcmTransportLayerStatus 00051 { 00054 TCS_ok, 00055 00059 TCS_noConnection, 00060 00063 TCS_tlsError, 00064 00067 TCS_illegalCall, 00068 00071 TCS_unspecifiedError 00072 }; 00073 00074 class DcmTransportConnection; 00075 00081 class DcmTransportLayer 00082 { 00083 public: 00084 00089 DcmTransportLayer(int /* networkRole */ ) { /* empty */ } 00090 00092 virtual ~DcmTransportLayer(); 00093 00105 virtual DcmTransportConnection *createConnection(int openSocket, OFBool useSecureLayer); 00106 00107 private: 00108 00110 DcmTransportLayer(const DcmTransportLayer&); 00111 00113 DcmTransportLayer& operator=(const DcmTransportLayer&); 00114 00115 }; 00116 00117 00118 #endif 00119 00120 /* 00121 * $Log: dcmlayer.h,v $ 00122 * Revision 1.5 2003/12/05 10:39:45 joergr 00123 * Removed leading underscore characters from preprocessor symbols (reserved 00124 * symbols). 00125 * 00126 * Revision 1.4 2003/06/12 15:16:10 joergr 00127 * Fixed inconsistent API documentation reported by Doxygen. 00128 * 00129 * Revision 1.3 2001/06/01 15:50:04 meichel 00130 * Updated copyright header 00131 * 00132 * Revision 1.2 2000/10/10 12:06:53 meichel 00133 * Updated transport layer error codes and routines for printing 00134 * connection parameters. 00135 * 00136 * Revision 1.1 2000/08/10 14:50:52 meichel 00137 * Added initial OpenSSL support. 00138 * 00139 * 00140 */ 00141


Generated on 4 Nov 2004 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.3.8