gdcmNetworkEvents.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright NumFOCUS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
/*
The NetworkEvents enumeration defines the inputs into the state of the network connection.
These inputs can come either from user input or input from other things on the socket,
ie, responses from the peer or ARTIM timeouts.
Note that this enumeration is not 'power of two', like the states, because you can't have
multiple simultaneous events. Multiple state outputs in transition tables, however, is possible.
*/
#ifndef GDCMNETWORKEVENTS_H
#define GDCMNETWORKEVENTS_H
namespace gdcm {
namespace network{
typedef enum {
eAASSOCIATERequestLocalUser = 0,
eTransportConnConfirmLocal,
eASSOCIATE_ACPDUreceived,
eASSOCIATE_RJPDUreceived,
eTransportConnIndicLocal,
eAASSOCIATE_RQPDUreceived,
eAASSOCIATEresponseAccept,
eAASSOCIATEresponseReject,
ePDATArequest,
ePDATATFPDU,
eARELEASERequest,
eARELEASE_RQPDUReceivedOpen,
eARELEASE_RPPDUReceived,
eARELEASEResponse,
eAABORTRequest,
eAABORTPDUReceivedOpen,
eTransportConnectionClosed,
eARTIMTimerExpired,
eUnrecognizedPDUReceived,
eEventDoesNotExist
} EEventID;
const int cMaxEventID = eEventDoesNotExist;
}
}
#endif //NETWORKEVENTS_H
gdcm::network
Definition gdcmAAbortPDU.h:24
gdcm::network::cMaxEventID
const int cMaxEventID
Definition gdcmNetworkEvents.h:56
gdcm::network::EEventID
EEventID
Definition gdcmNetworkEvents.h:33
gdcm::network::eASSOCIATE_RJPDUreceived
@ eASSOCIATE_RJPDUreceived
Definition gdcmNetworkEvents.h:37
gdcm::network::ePDATATFPDU
@ ePDATATFPDU
Definition gdcmNetworkEvents.h:43
gdcm::network::eARELEASE_RPPDUReceived
@ eARELEASE_RPPDUReceived
Definition gdcmNetworkEvents.h:46
gdcm::network::eAASSOCIATEresponseReject
@ eAASSOCIATEresponseReject
Definition gdcmNetworkEvents.h:41
gdcm::network::eAASSOCIATEresponseAccept
@ eAASSOCIATEresponseAccept
Definition gdcmNetworkEvents.h:40
gdcm::network::eTransportConnConfirmLocal
@ eTransportConnConfirmLocal
Definition gdcmNetworkEvents.h:35
gdcm::network::eARTIMTimerExpired
@ eARTIMTimerExpired
Definition gdcmNetworkEvents.h:51
gdcm::network::eASSOCIATE_ACPDUreceived
@ eASSOCIATE_ACPDUreceived
Definition gdcmNetworkEvents.h:36
gdcm::network::eAABORTRequest
@ eAABORTRequest
Definition gdcmNetworkEvents.h:48
gdcm::network::eUnrecognizedPDUReceived
@ eUnrecognizedPDUReceived
Definition gdcmNetworkEvents.h:52
gdcm::network::eTransportConnIndicLocal
@ eTransportConnIndicLocal
Definition gdcmNetworkEvents.h:38
gdcm::network::eAABORTPDUReceivedOpen
@ eAABORTPDUReceivedOpen
Definition gdcmNetworkEvents.h:49
gdcm::network::ePDATArequest
@ ePDATArequest
Definition gdcmNetworkEvents.h:42
gdcm::network::eARELEASEResponse
@ eARELEASEResponse
Definition gdcmNetworkEvents.h:47
gdcm::network::eTransportConnectionClosed
@ eTransportConnectionClosed
Definition gdcmNetworkEvents.h:50
gdcm::network::eARELEASERequest
@ eARELEASERequest
Definition gdcmNetworkEvents.h:44
gdcm::network::eAASSOCIATERequestLocalUser
@ eAASSOCIATERequestLocalUser
Definition gdcmNetworkEvents.h:34
gdcm::network::eARELEASE_RQPDUReceivedOpen
@ eARELEASE_RQPDUReceivedOpen
Definition gdcmNetworkEvents.h:45
gdcm::network::eAASSOCIATE_RQPDUreceived
@ eAASSOCIATE_RQPDUreceived
Definition gdcmNetworkEvents.h:39
gdcm::network::eEventDoesNotExist
@ eEventDoesNotExist
Definition gdcmNetworkEvents.h:53
gdcm
Definition gdcmASN1.h:21