OFFIS DCMTK  Version 3.6.0
dcmlayer.h
1 /*
2  *
3  * Copyright (C) 1998-2010, OFFIS e.V.
4  * All rights reserved. See COPYRIGHT file for details.
5  *
6  * This software and supporting documentation were developed by
7  *
8  * OFFIS e.V.
9  * R&D Division Health
10  * Escherweg 2
11  * D-26121 Oldenburg, Germany
12  *
13  *
14  * Module: dcmnet
15  *
16  * Author: Marco Eichelberg
17  *
18  * Purpose:
19  * classes: DcmTransportLayer
20  *
21  * Last Update: $Author: joergr $
22  * Update Date: $Date: 2010-10-14 13:17:22 $
23  * CVS/RCS Revision: $Revision: 1.8 $
24  * Status: $State: Exp $
25  *
26  * CVS/RCS Log at end of file
27  *
28  */
29 
30 #ifndef DCMLAYER_H
31 #define DCMLAYER_H
32 
33 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
34 #include "dcmtk/ofstd/oftypes.h"
35 #include "dcmtk/ofstd/ofstring.h"
36 
37 #define INCLUDE_UNISTD
38 #include "dcmtk/ofstd/ofstdinc.h"
39 
43 enum DcmTransportLayerStatus
44 {
47  TCS_ok,
48 
52  TCS_noConnection,
53 
56  TCS_tlsError,
57 
60  TCS_illegalCall,
61 
64  TCS_unspecifiedError
65 };
66 
68 
75 {
76 public:
77 
82  DcmTransportLayer(int /* networkRole */ ) { /* empty */ }
83 
85  virtual ~DcmTransportLayer();
86 
98  virtual DcmTransportConnection *createConnection(int openSocket, OFBool useSecureLayer);
99 
100 private:
101 
104 
107 
108 };
109 
110 
111 #endif
112 
113 /*
114  * $Log: dcmlayer.h,v $
115  * Revision 1.8 2010-10-14 13:17:22 joergr
116  * Updated copyright header. Added reference to COPYRIGHT file.
117  *
118  * Revision 1.7 2005/12/08 16:02:16 meichel
119  * Changed include path schema for all DCMTK header files
120  *
121  * Revision 1.6 2004/08/03 11:42:43 meichel
122  * Headers libc.h and unistd.h are now included via ofstdinc.h
123  *
124  * Revision 1.5 2003/12/05 10:39:45 joergr
125  * Removed leading underscore characters from preprocessor symbols (reserved
126  * symbols).
127  *
128  * Revision 1.4 2003/06/12 15:16:10 joergr
129  * Fixed inconsistent API documentation reported by Doxygen.
130  *
131  * Revision 1.3 2001/06/01 15:50:04 meichel
132  * Updated copyright header
133  *
134  * Revision 1.2 2000/10/10 12:06:53 meichel
135  * Updated transport layer error codes and routines for printing
136  * connection parameters.
137  *
138  * Revision 1.1 2000/08/10 14:50:52 meichel
139  * Added initial OpenSSL support.
140  *
141  *
142  */
143 


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2