GDCM
2.2.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
Source
MessageExchangeDefinition
gdcmNetworkEvents.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright Insight Software Consortium
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
/*
19
The NetworkEvents enumeration defines the inputs into the state of the network connection.
20
21
These inputs can come either from user input or input from other things on the socket,
22
ie, responses from the peer or ARTIM timeouts.
23
24
Note that this enumeration is not 'power of two', like the states, because you can't have
25
multiple simultaneous events. Multiple state outputs in transition tables, however, is possible.
26
27
*/
28
#ifndef GDCMNETWORKEVENTS_H
29
#define GDCMNETWORKEVENTS_H
30
31
namespace
gdcm {
32
namespace
network{
33
typedef
enum
{
34
eAASSOCIATERequestLocalUser
= 0,
35
eTransportConnConfirmLocal
,
36
eASSOCIATE_ACPDUreceived
,
37
eASSOCIATE_RJPDUreceived
,
38
eTransportConnIndicLocal
,
39
eAASSOCIATE_RQPDUreceived
,
40
eAASSOCIATEresponseAccept
,
41
eAASSOCIATEresponseReject
,
42
ePDATArequest
,
43
ePDATATFPDU
,
44
eARELEASERequest
,
45
eARELEASE_RQPDUReceivedOpen
,
46
eARELEASE_RPPDUReceived
,
47
eARELEASEResponse
,
48
eAABORTRequest
,
49
eAABORTPDUReceivedOpen
,
50
eTransportConnectionClosed
,
51
eARTIMTimerExpired
,
52
eUnrecognizedPDUReceived
,
53
eEventDoesNotExist
54
}
EEventID
;
55
56
const
int
cMaxEventID
=
eEventDoesNotExist
;
57
}
58
}
59
60
#endif //NETWORKEVENTS_H
Generated on Wed Jun 13 2012 20:40:37 for GDCM by
1.8.1