|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dcm4che2.net.TransferCapability
public class TransferCapability
DICOM Standard, Part 15, Annex H: Transfer Capability � The description of the SOP classes and syntaxes supported by a Network AE.
An instance of the TransferCapability class describes the
DICOM transfer capabilities of an SCU or SCP in terms of a single
presentation syntax. This includes the role selection (SCU or SCP), the
acceptable transfer syntaxes for a given SOP Class, and any extra
information.
| Field Summary | |
|---|---|
protected java.lang.String |
commonName
|
protected byte[] |
extInfo
|
protected boolean |
scp
|
static java.lang.String |
SCP
String representation of the DICOM SCP role. |
static java.lang.String |
SCU
String representation of the DICOM SCU role. |
protected java.lang.String |
sopClass
|
protected java.lang.String[] |
transferSyntax
|
| Constructor Summary | |
|---|---|
TransferCapability()
Default constructor. |
|
TransferCapability(java.lang.String sopClass,
java.lang.String[] transferSyntax,
java.lang.String role)
Creates the TransferCapability instance with the specified
presentation context.. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCommonName()
Set the name of the Transfer Capability object. |
byte[] |
getExtInfo()
|
boolean |
getExtInfoBoolean(int field)
|
int |
getExtInfoInt(int field)
|
java.lang.String |
getRole()
Get the role selection for this TransferCapabilityinstance. |
java.lang.String |
getSopClass()
Get the SOP Class of this Transfer Capability object. |
java.lang.String[] |
getTransferSyntax()
Get the transfer syntax(es) that may be requested as an SCU or that are offered as an SCP. |
boolean |
isSCP()
Determine if this Transfer Capability object is capable of acting as an SCP. |
boolean |
isSCU()
Determine if this Transfer Capability object is capable of acting as an SCU. |
protected ExtendedNegotiation |
negotiate(ExtendedNegotiation offered)
Negotiate any extended negotiation items for the association. |
void |
setCommonName(java.lang.String commonName)
Get the name of the Transfer Capability object. |
void |
setExtInfo(byte[] info)
|
void |
setExtInfoBoolean(int field,
boolean b)
|
void |
setExtInfoInt(int field,
int value)
|
void |
setRole(java.lang.String role)
Set the role selection for this TransferCapabilityinstance. |
void |
setSopClass(java.lang.String sopClass)
Set the SOP Class of this Transfer Capability object. |
void |
setTransferSyntax(java.lang.String[] transferSyntax)
Set the transfer syntax(es) that may be requested as an SCU or that are offered as an SCP. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SCU
public static final java.lang.String SCP
protected java.lang.String commonName
protected java.lang.String sopClass
protected boolean scp
protected java.lang.String[] transferSyntax
protected byte[] extInfo
| Constructor Detail |
|---|
public TransferCapability()
public TransferCapability(java.lang.String sopClass,
java.lang.String[] transferSyntax,
java.lang.String role)
TransferCapability instance with the specified
presentation context..
sopClass - A String containing the SOP Class UID.transferSyntax - A String array containing the acceptable transfer syntaxes
for sopClass.role - A String defining the role selection (SCU or SCP) for this
TransferCapabilityinstance| Method Detail |
|---|
public java.lang.String getCommonName()
public void setCommonName(java.lang.String commonName)
commonName - A String containing the common name.public java.lang.String getRole()
TransferCapabilityinstance.
TransferCapabilityinstancepublic void setRole(java.lang.String role)
TransferCapabilityinstance.
role - A String defining the role selection (SCU or SCP) for this
TransferCapabilityinstance
java.lang.IllegalArgumentException - If the role is not equal to SCU or
SCP.public boolean isSCP()
public boolean isSCU()
public java.lang.String getSopClass()
public void setSopClass(java.lang.String sopClass)
sopClass - A String containing the SOP Class UID.public java.lang.String[] getTransferSyntax()
public void setTransferSyntax(java.lang.String[] transferSyntax)
transferSyntax - String array containing the transfer syntaxes.public byte[] getExtInfo()
public void setExtInfo(byte[] info)
public boolean getExtInfoBoolean(int field)
field -
public int getExtInfoInt(int field)
field -
public void setExtInfoBoolean(int field,
boolean b)
field - b -
public void setExtInfoInt(int field,
int value)
field - value - protected ExtendedNegotiation negotiate(ExtendedNegotiation offered)
offered - The ExtendedNegotiation that was offered.
ExtendedNegotiation that was negotiated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||