Package com.pixelmed.network
Class CFindRequestCommandMessage
- java.lang.Object
-
- com.pixelmed.network.CFindRequestCommandMessage
-
public class CFindRequestCommandMessage extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CFindRequestCommandMessage(AttributeList list)
CFindRequestCommandMessage(java.lang.String affectedSOPClassUID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAffectedSOPClassUID()
byte[]
getBytes()
int
getCommandField()
int
getGroupLength()
int
getMessageID()
int
getNextAvailableMessageID()
Get a new message ID.int
getPriority()
-
-
-
Constructor Detail
-
CFindRequestCommandMessage
public CFindRequestCommandMessage(AttributeList list) throws DicomException, java.io.IOException
- Parameters:
list
-- Throws:
java.io.IOException
DicomException
-
CFindRequestCommandMessage
public CFindRequestCommandMessage(java.lang.String affectedSOPClassUID) throws DicomException, java.io.IOException
- Parameters:
affectedSOPClassUID
-- Throws:
java.io.IOException
DicomException
-
-
Method Detail
-
getGroupLength
public int getGroupLength()
-
getAffectedSOPClassUID
public java.lang.String getAffectedSOPClassUID()
-
getCommandField
public int getCommandField()
-
getMessageID
public int getMessageID()
-
getPriority
public int getPriority()
-
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
-
-