jdcm
Class N_Event_Report

java.lang.Object
  extended by jdcm.DimseService
      extended by jdcm.N_Event_Report

public final class N_Event_Report
extends DimseService

The N_Event_Report class represents a N-EVENT-REPORT DIMSE service.

See Also:
DimseService

Field Summary
 
Fields inherited from class jdcm.DimseService
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM, STATUS_FAILED, STATUS_PENDING, STATUS_SUCCESS
 
Constructor Summary
N_Event_Report(A_Associate associate)
          Constructs a new C_Event_Report object for a specified association.
 
Method Summary
 java.lang.String getAffectedSOPInstanceUID()
          Retrieve the value of the Affected SOP Instance UID attribute in the message's command set.
 int getEventTypeID()
          Retrieve the destination DICOM Application Entity for which C-STORE sub-operations are being performed.
 DicomSet readRPS()
          Receive a DIMSE N-EVENT-REPORT-RSP message from the association partner.
 DicomSet readRQ()
          Receive a DIMSE N-EVENT-REPORT-RQ message from the association partner.
 void setAffectedSOPInstanceUID(java.lang.String affectedSOPInstanceUID)
          Sets the value of the Affected SOP Instance UID attribute in the message's command set.
 void setEventTypeID(int eventTypeID)
          Set the event TypeID.
 java.lang.String toString()
           
 void writeRPS(DicomSet dicomSet)
          Send a DIMSE N-EVENT-REPORT-RSP message to the association partner.
 void writeRQ(DicomSet dicomSet)
          Send a DIMSE N-EVENT-REPORT-RQ message to the association partner.
 
Methods inherited from class jdcm.DimseService
getAffectedSOPClassUID, getCommandField, getCommandRPS, getCommandRQ, getDicomSet, getMessageID, getMessageIDBeingRespondedTo, getPresContextID, getPriority, getStatus, getTransferSyntaxUID, setAffectedSOPClassUID, setMessageID, setMessageIDBeingRespondedTo, setPresContextID, setPriority, setStatus, setTransferSyntaxUID, writeCancelRQ
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

N_Event_Report

public N_Event_Report(A_Associate associate)
Constructs a new C_Event_Report object for a specified association.

Parameters:
associate - A not null A_Associate reference that represents an active association with a remote DICOM application entity.
Method Detail

setEventTypeID

public void setEventTypeID(int eventTypeID)
Set the event TypeID. This parameter is uded in N-EVENT-REPORT-RQ and N-EVENT-REPORT-RPS message's command set.

Parameters:
eventTypeID -

getEventTypeID

public int getEventTypeID()
Retrieve the destination DICOM Application Entity for which C-STORE sub-operations are being performed. This parameter is uded in N-EVENT-REPORT-RQ and N-EVENT-REPORT-RPS message's command set.


setAffectedSOPInstanceUID

public void setAffectedSOPInstanceUID(java.lang.String affectedSOPInstanceUID)
Sets the value of the Affected SOP Instance UID attribute in the message's command set.

Parameters:
affectedSOPInstanceUID -

getAffectedSOPInstanceUID

public java.lang.String getAffectedSOPInstanceUID()
Retrieve the value of the Affected SOP Instance UID attribute in the message's command set.


readRQ

public DicomSet readRQ()
                throws java.io.IOException
Receive a DIMSE N-EVENT-REPORT-RQ message from the association partner.

Returns:
data set the DIMSE message received
Throws:
java.io.IOException

writeRPS

public void writeRPS(DicomSet dicomSet)
              throws java.io.IOException
Send a DIMSE N-EVENT-REPORT-RSP message to the association partner.

Parameters:
dicomSet - data set in the DIMSE Message
Throws:
java.io.IOException

writeRQ

public void writeRQ(DicomSet dicomSet)
             throws java.io.IOException
Send a DIMSE N-EVENT-REPORT-RQ message to the association partner.

Parameters:
dicomSet -
Throws:
java.io.IOException

readRPS

public DicomSet readRPS()
                 throws java.io.IOException
Receive a DIMSE N-EVENT-REPORT-RSP message from the association partner.

Returns:
dicomSet data set in received DIMSE message
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class DimseService