|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
org.dicom4j.network.protocoldataunit.userinformationsubitems.support.AbstractUserInformationSubItem
org.dicom4j.network.protocoldataunit.userinformationsubitems.ScpScuRoleSelection
public class ScpScuRoleSelection
SCP/SCU Role Selection (SUB-ITEM)
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit |
|---|
ProtocolDataUnit.Types |
| Constructor Summary | |
|---|---|
ScpScuRoleSelection()
|
|
ScpScuRoleSelection(String aSOPClassUID)
|
|
ScpScuRoleSelection(String aSOPClassUID,
boolean aIsSCU,
boolean aIsSCP)
|
|
| Method Summary | |
|---|---|
boolean |
getIsSCP()
|
boolean |
getIsSCU()
|
int |
getLength()
Return the length of the Protocol Data Unit |
String |
getName()
Return the name of the Protocol Data Unit |
String |
getSOPClassUID()
|
UserInformationSubItemType |
getType()
return the type of the Protocol Data Unit
TODO change to ProtocolType |
void |
read(BinaryInputStream aStream,
int aLength)
Read the Protocol Data Unit from a stream |
void |
setIsSCP(boolean aIsSCP)
|
void |
setIsSCU(boolean aIsSCU)
|
void |
setSOPClassUID(String sOPClassUID)
|
String |
toString()
the ProtocolDataUnit as a string |
void |
write(BinaryOutputStream aStream)
Write the Protocol Data Unit to a stream |
| Methods inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit |
|---|
checkStream, getSopClassRegistry, setSopClassRegistry, toBytes, typetoString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ScpScuRoleSelection()
public ScpScuRoleSelection(String aSOPClassUID)
public ScpScuRoleSelection(String aSOPClassUID,
boolean aIsSCU,
boolean aIsSCP)
| Method Detail |
|---|
public boolean getIsSCP()
public boolean getIsSCU()
public int getLength()
ProtocolDataUnit
getLength in interface ProtocolDataUnitgetLength in class ProtocolDataUnitpublic String getName()
ProtocolDataUnit
getName in interface ProtocolDataUnitgetName in class ProtocolDataUnitpublic String getSOPClassUID()
public UserInformationSubItemType getType()
ProtocolDataUnit
return the type of the Protocol Data Unit
getType in interface ProtocolDataUnitgetType in class ProtocolDataUnit
public void read(BinaryInputStream aStream,
int aLength)
throws DicomException,
IOException
ProtocolDataUnit
read in class ProtocolDataUnitDicomException
IOExceptionpublic void setIsSCP(boolean aIsSCP)
public void setIsSCU(boolean aIsSCU)
public void setSOPClassUID(String sOPClassUID)
public String toString()
ProtocolDataUnit
toString in interface ProtocolDataUnittoString in class ProtocolDataUnit
public void write(BinaryOutputStream aStream)
throws DicomException,
IOException
ProtocolDataUnit
write in class ProtocolDataUnitDicomException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||