Package com.pixelmed.network
Class CStoreRequestCommandMessage
java.lang.Object
com.pixelmed.network.CStoreRequestCommandMessage
-
Constructor Summary
ConstructorsConstructorDescriptionCStoreRequestCommandMessage
(String affectedSOPClassUID, String affectedSOPInstanceUID) CStoreRequestCommandMessage
(String affectedSOPClassUID, String affectedSOPInstanceUID, String moveOriginatorApplicationEntityTitle, int moveOriginatorMessageID) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getBytes()
int
int
int
int
final int
Get a new message ID.int
-
Constructor Details
-
CStoreRequestCommandMessage
- Parameters:
list
-- Throws:
IOException
DicomException
-
CStoreRequestCommandMessage
public CStoreRequestCommandMessage(String affectedSOPClassUID, String affectedSOPInstanceUID) throws DicomException, IOException - Parameters:
affectedSOPClassUID
-affectedSOPInstanceUID
-- Throws:
IOException
DicomException
-
CStoreRequestCommandMessage
public CStoreRequestCommandMessage(String affectedSOPClassUID, String affectedSOPInstanceUID, String moveOriginatorApplicationEntityTitle, int moveOriginatorMessageID) throws DicomException, IOException - Parameters:
affectedSOPClassUID
-affectedSOPInstanceUID
-moveOriginatorApplicationEntityTitle
- the AET of the C-MOVE that originated this C-STORE, or null if nonemoveOriginatorMessageID
- the MessageID of the C-MOVE that originated this C-STORE, or -1 if none- Throws:
IOException
DicomException
-
-
Method Details
-
getGroupLength
public int getGroupLength() -
getAffectedSOPClassUID
-
getCommandField
public int getCommandField() -
getMessageID
public int getMessageID() -
getPriority
public int getPriority() -
getAffectedSOPInstanceUID
-
getmoveOriginatorApplicationEntityTitle
-
getMoveOriginatorMessageID
public int getMoveOriginatorMessageID() -
getBytes
public byte[] getBytes() -
getNextAvailableMessageID
public final int getNextAvailableMessageID()Get a new message ID.
Implemented as a simple counter on scope of JVM invocation, and will eventually wrapp around.
- Returns:
- a new unused integer message ID
-