com.pixelmed.network
Class CFindRequestCommandMessage

java.lang.Object
  extended by com.pixelmed.network.CFindRequestCommandMessage

public class CFindRequestCommandMessage
extends Object


Constructor Summary
CFindRequestCommandMessage(AttributeList list)
           
CFindRequestCommandMessage(String affectedSOPClassUID)
           
 
Method Summary
 String getAffectedSOPClassUID()
           
 byte[] getBytes()
           
 int getCommandField()
           
 int getGroupLength()
           
 int getMessageID()
           
 int getNextAvailableMessageID()
          Get a new message ID.
 int getPriority()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CFindRequestCommandMessage

public CFindRequestCommandMessage(AttributeList list)
                           throws DicomException,
                                  IOException
Parameters:
list -
Throws:
IOException
DicomException

CFindRequestCommandMessage

public CFindRequestCommandMessage(String affectedSOPClassUID)
                           throws DicomException,
                                  IOException
Parameters:
affectedSOPClassUID -
Throws:
IOException
DicomException
Method Detail

getGroupLength

public int getGroupLength()

getAffectedSOPClassUID

public 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