|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjdcm.DimseService
public class DimseService
This class encapsulates a DICOM service used by the DIMSE protocol. DICOM provides for two kinds of DIMSE service messages: request messages sent by Service Class User (SCU) applications to Service Class Provider (SCP) applications, and response messages sent by SCP applications in reply to received request messages. In either case, you must instantiate a DimseService sub-class (C_Echo, C_Move, C_Find,C_Get, C_Store, N_Action, N_Create, N_Delete, N_Event_Report, N_Get, N_Set) object to send to the remote application. The exact contents of the command set and data set depend on the service class defined by the DICOM standard.
| Field Summary | |
|---|---|
static int |
PRIORITY_HIGH
|
static int |
PRIORITY_LOW
|
static int |
PRIORITY_MEDIUM
|
static int |
STATUS_FAILED
|
static int |
STATUS_PENDING
|
static int |
STATUS_SUCCESS
|
| Method Summary | |
|---|---|
java.lang.String |
getAffectedSOPClassUID()
Retrieve the Affected SOP Class UID attribute from the message's command request set. |
int |
getCommandField()
Retrieve the DIMSE operation conveyed by this message |
DicomGroup |
getCommandRPS()
Retrieves the command response associated with this DIMSE message. |
DicomGroup |
getCommandRQ()
Retrieves the command request associated with this DIMSE message. |
DicomSet |
getDicomSet()
Retrieves the data set instance associated with this DIMSE message. |
int |
getMessageID()
Retrieve the message's ID attribute from the message's command request set. |
int |
getMessageIDBeingRespondedTo()
Retrieve the MessageIDBeingRespondedTo attribute from the message's command response set. |
int |
getPresContextID()
Retrieve the presentation context ID in DIMSE messages. |
int |
getPriority()
Retrieve the priority attribute from the message's command request set. |
int |
getStatus()
Retrieves the status attribute code from the message's command response set. |
java.lang.String |
getTransferSyntaxUID()
Retrieve the syntax transfer UID in this DIMSE messages. |
void |
setAffectedSOPClassUID(java.lang.String affectedSOPClassUID)
Set the Affected SOP Class UID attribute in the message's command request set. |
void |
setMessageID(int messageID)
Set the message's ID attribute in the message's command request set. |
void |
setMessageIDBeingRespondedTo(int messageIDBeingRespondedTo)
Set the MessageIDBeingRespondedTo attribute in the message's command response set. |
void |
setPresContextID(int presContextID)
Set the presentation context ID in DIMSE messages. |
void |
setPriority(int priority)
Set the priority attribute in message's command request set. |
void |
setStatus(int status)
Set the status attribute in message's command response set. |
void |
setTransferSyntaxUID(java.lang.String transferSyntaxUID)
Set the syntax transfer UID in this DIMSE message |
java.lang.String |
toString()
|
void |
writeCancelRQ()
Send a cancel message request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int PRIORITY_HIGH
public static final int PRIORITY_MEDIUM
public static final int PRIORITY_LOW
public static final int STATUS_FAILED
public static final int STATUS_SUCCESS
public static final int STATUS_PENDING
| Method Detail |
|---|
public void writeCancelRQ()
public DicomGroup getCommandRQ()
public DicomGroup getCommandRPS()
public DicomSet getDicomSet()
public int getStatus()
public void setStatus(int status)
status - STATUS_FAILED, STATUS_PENDING, STATUS_SUCCESSpublic int getPriority()
public void setPriority(int priority)
priority - PRIORITY_LOW, PRIORITY_MEDIUM, PRIORITY_HIGHpublic void setPresContextID(int presContextID)
public int getPresContextID()
public void setMessageID(int messageID)
public int getMessageID()
public void setMessageIDBeingRespondedTo(int messageIDBeingRespondedTo)
public int getMessageIDBeingRespondedTo()
public void setAffectedSOPClassUID(java.lang.String affectedSOPClassUID)
public java.lang.String getAffectedSOPClassUID()
public java.lang.String getTransferSyntaxUID()
public void setTransferSyntaxUID(java.lang.String transferSyntaxUID)
public int getCommandField()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||