public class CFindSCUFactory extends SCUFactory
Constructor and Description |
---|
CFindSCUFactory() |
Modifier and Type | Method and Description |
---|---|
static CFindSCU |
createCFindSCU(java.net.Socket socket,
java.lang.String callingAE,
java.lang.String calledAE,
SOPClassUID sopClassUID)
tries to establish an association on the specified socket
and returns a newly created CFindSCU object on the established
assocition.The socket must be newly created with no IO operations performed on it as yet.
|
static CFindSCU |
createCFindSCU(java.lang.String host,
int port,
java.lang.String callingAE,
java.lang.String calledAE,
SOPClassUID sopClassUID)
creates a Socket and calls
createCFindSCU(Socket, String, String, SOPClassUID) |
static MultiCFindSCU |
createMultiCFindSCU(java.lang.String host,
int port,
java.lang.String calledAETitle,
java.lang.String localAETitle)
creates a MultiCFindSCU for the Study Root Query/Retrieve Information Model without sop class related
extended negotiation data
|
static MultiCFindSCU |
createMultiCFindSCU(java.lang.String host,
int port,
java.lang.String calledAETitle,
java.lang.String localAETitle,
CFindExtendedNegotiation cFindExtendedNegotiation)
creates a MultiCFindSCU for the Study Root Query/Retrieve Information Model
|
static MultiCFindSCU |
createMultiCFindSCU(java.lang.String host,
int port,
java.lang.String calledAETitle,
java.lang.String localAETitle,
SOPClassUID sopClassUID)
creates a MultiCFindSCU for the specified SOP Class without sop class related
extended negotiation data
|
static MultiCFindSCU |
createMultiCFindSCU(java.lang.String host,
int port,
java.lang.String calledAETitle,
java.lang.String localAETitle,
SOPClassUID sopClassUID,
CFindExtendedNegotiation cFindExtendedNegotiation)
creates a MultiCFindSCU for the specified SOP Class
|
static java.util.Collection |
executeCFind(java.lang.String host,
int port,
java.lang.String calledAE,
java.lang.String callingAE,
SOPClassUID sopClassUID,
DicomObject identifier,
CFindSCU.ResponseHandler handler)
executes a complete C-FIND operation in one method call, including association
setup, the C-FIND message exchange and association release.
|
getMessageID, release, resetMessageID
protected static JdtLogger log
public static java.util.Collection executeCFind(java.lang.String host, int port, java.lang.String calledAE, java.lang.String callingAE, SOPClassUID sopClassUID, DicomObject identifier, CFindSCU.ResponseHandler handler) throws SCUException, java.io.IOException
host
- Stringport
- intcalledAE
- StringcallingAE
- StringsopClassUID
- SOPClassUIDidentifier
- DicomObjecthandler
- ResponseHandlerSCUException
java.io.IOException
public static CFindSCU createCFindSCU(java.lang.String host, int port, java.lang.String callingAE, java.lang.String calledAE, SOPClassUID sopClassUID) throws SCUException, java.io.IOException
createCFindSCU(Socket, String, String, SOPClassUID)
host
- Stringport
- intcallingAE
- StringcalledAE
- StringsopClassUID
- SOPClassUIDSCUException
java.io.IOException
public static CFindSCU createCFindSCU(java.net.Socket socket, java.lang.String callingAE, java.lang.String calledAE, SOPClassUID sopClassUID) throws SCUException, java.io.IOException
socket
- SocketcallingAE
- StringcalledAE
- StringsopClassUID
- SOPClassUIDSCUException
java.io.IOException
public static MultiCFindSCU createMultiCFindSCU(java.lang.String host, int port, java.lang.String calledAETitle, java.lang.String localAETitle)
host
- the remote hostport
- the remote portcalledAETitle
- the called AE titlelocalAETitle
- the local (calling) AE titlepublic static MultiCFindSCU createMultiCFindSCU(java.lang.String host, int port, java.lang.String calledAETitle, java.lang.String localAETitle, CFindExtendedNegotiation cFindExtendedNegotiation)
host
- the remote hostport
- the remote portcalledAETitle
- the called AE titlelocalAETitle
- the local (calling) AE titlecFindExtendedNegotiation
- extended negotiation datapublic static MultiCFindSCU createMultiCFindSCU(java.lang.String host, int port, java.lang.String calledAETitle, java.lang.String localAETitle, SOPClassUID sopClassUID)
host
- the remote hostport
- the remote portcalledAETitle
- the called AE titlelocalAETitle
- the local (calling) AE titlesopClassUID
- a SOPClassUID that supports C-FINDpublic static MultiCFindSCU createMultiCFindSCU(java.lang.String host, int port, java.lang.String calledAETitle, java.lang.String localAETitle, SOPClassUID sopClassUID, CFindExtendedNegotiation cFindExtendedNegotiation)
host
- the remote hostport
- the remote portcalledAETitle
- the called AE titlelocalAETitle
- the local (calling) AE titlesopClassUID
- a SOPClassUID that supports C-FINDcFindExtendedNegotiation
- extended negotiation data