public class Association extends Object
Modifier and Type | Field and Description |
---|---|
private AAssociateAC |
ac |
private ApplicationEntity |
ae |
private IntHashMap<CancelRQHandler> |
cancelHandlerForMsgId |
private Connection |
conn |
private PDUDecoder |
decoder |
private Device |
device |
private PDUEncoder |
encoder |
private IOException |
ex |
private InputStream |
in |
static Logger |
LOG |
private int |
maxOpsInvoked |
private int |
maxPDULength |
private AtomicInteger |
messageID |
private String |
name |
private OutputStream |
out |
private HashMap<String,HashMap<String,PresentationContext>> |
pcMap |
private int |
performing |
private static AtomicInteger |
prevSerialNo |
private HashMap<String,Object> |
properties |
private boolean |
requestor |
private AAssociateRQ |
rq |
private IntHashMap<DimseRSPHandler> |
rspHandlerForMsgId |
private int |
serialNo |
private Socket |
sock |
private State |
state |
private Timeout |
timeout |
Constructor and Description |
---|
Association(ApplicationEntity ae,
Connection local,
Socket sock) |
Modifier and Type | Method and Description |
---|---|
void |
abort() |
(package private) void |
abort(AAbort aa) |
private void |
activate() |
void |
addCancelRQHandler(int msgId,
CancelRQHandler handler) |
private void |
addDimseRSPHandler(DimseRSPHandler rspHandler) |
(package private) void |
cancel(PresentationContext pc,
int msgId) |
DimseRSP |
cecho() |
DimseRSP |
cecho(String cuid) |
void |
cfind(String cuid,
int priority,
Attributes data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
cfind(String cuid,
int priority,
Attributes data,
String tsuid,
int autoCancel) |
void |
cfind(String asuid,
String cuid,
int priority,
Attributes data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
cfind(String asuid,
String cuid,
int priority,
Attributes data,
String tsuid,
int autoCancel) |
DimseRSP |
cget(String cuid,
int priority,
Attributes data,
String tsuid) |
void |
cget(String cuid,
int priority,
Attributes data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
cget(String asuid,
String cuid,
int priority,
Attributes data,
String tsuid) |
void |
cget(String asuid,
String cuid,
int priority,
Attributes data,
String tsuid,
DimseRSPHandler rspHandler) |
private void |
checkException() |
private void |
checkIsSCP(String cuid) |
private void |
checkIsSCU(String cuid) |
Object |
clearProperty(String key) |
private void |
closeSocket() |
private void |
closeSocketDelayed() |
DimseRSP |
cmove(String cuid,
int priority,
Attributes data,
String tsuid,
String destination) |
void |
cmove(String cuid,
int priority,
Attributes data,
String tsuid,
String destination,
DimseRSPHandler rspHandler) |
DimseRSP |
cmove(String asuid,
String cuid,
int priority,
Attributes data,
String tsuid,
String destination) |
void |
cmove(String asuid,
String cuid,
int priority,
Attributes data,
String tsuid,
String destination,
DimseRSPHandler rspHandler) |
boolean |
containsProperty(String key) |
Attributes |
createFileMetaInformation(String iuid,
String cuid,
String tsuid) |
DimseRSP |
cstore(String cuid,
String iuid,
int priority,
DataWriter data,
String tsuid) |
void |
cstore(String cuid,
String iuid,
int priority,
DataWriter data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
cstore(String cuid,
String iuid,
int priority,
String moveOriginatorAET,
int moveOriginatorMsgId,
DataWriter data,
String tsuid) |
void |
cstore(String cuid,
String iuid,
int priority,
String moveOriginatorAET,
int moveOriginatorMsgId,
DataWriter data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
cstore(String asuid,
String cuid,
String iuid,
int priority,
DataWriter data,
String tsuid) |
void |
cstore(String asuid,
String cuid,
String iuid,
int priority,
DataWriter data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
cstore(String asuid,
String cuid,
String iuid,
int priority,
String moveOriginatorAET,
int moveOriginatorMsgId,
DataWriter data,
String tsuid) |
void |
cstore(String asuid,
String cuid,
String iuid,
int priority,
String moveOriginatorAET,
int moveOriginatorMsgId,
DataWriter data,
String tsuid,
DimseRSPHandler rspHandler) |
private void |
decPerforming() |
private String |
delim() |
(package private) void |
doCloseSocket() |
(package private) void |
doCloseSocketDelayed() |
(package private) void |
doWritePDataTF() |
private void |
enterState(State newState) |
AAssociateAC |
getAAssociateAC() |
AAssociateRQ |
getAAssociateRQ() |
ApplicationEntity |
getApplicationEntity() |
String |
getCalledAET() |
String |
getCallingAET() |
CommonExtendedNegotiation |
getCommonExtendedNegotiationFor(String cuid) |
Connection |
getConnection() |
Device |
getDevice() |
private DimseRSPHandler |
getDimseRSPHandler(int msgId) |
IOException |
getException() |
String |
getLocalAET() |
String |
getLocalImplClassUID() |
String |
getLocalImplVersionName() |
(package private) int |
getMaxPDULengthSend() |
(package private) PresentationContext |
getPresentationContext(int pcid) |
<T> T |
getProperty(Class<T> clazz) |
Object |
getProperty(String key) |
String |
getRemoteAET() |
String |
getRemoteImplClassUID() |
String |
getRemoteImplVersionName() |
Socket |
getSocket() |
State |
getState() |
Set<String> |
getTransferSyntaxesFor(String cuid) |
(package private) void |
handle(AAssociateAC ac) |
(package private) void |
handle(AAssociateRJ rq) |
(package private) void |
handle(AAssociateRQ rq) |
(package private) void |
handleAReleaseRP() |
(package private) void |
handleAReleaseRPCollision() |
(package private) void |
handleAReleaseRQ() |
(package private) void |
handleAReleaseRQCollision() |
(package private) void |
handlePDataTF() |
private void |
incPerforming() |
private void |
initPCMap() |
private HashMap<String,PresentationContext> |
initTSMap(String as) |
private void |
invoke(PresentationContext pc,
Attributes cmd,
DataWriter data,
DimseRSPHandler rspHandler,
int rspTimeout) |
(package private) boolean |
isPackPDV() |
boolean |
isReadyForDataTransfer() |
boolean |
isRequestor() |
boolean |
isSCPFor(String cuid) |
boolean |
isSCUFor(String cuid) |
(package private) static int |
minZeroAsMax(int i1,
int i2) |
DimseRSP |
naction(String cuid,
String iuid,
int actionTypeId,
Attributes data,
String tsuid) |
void |
naction(String cuid,
String iuid,
int actionTypeId,
Attributes data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
naction(String asuid,
String cuid,
String iuid,
int actionTypeId,
Attributes data,
String tsuid) |
void |
naction(String asuid,
String cuid,
String iuid,
int actionTypeId,
Attributes data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
ncreate(String cuid,
String iuid,
Attributes data,
String tsuid) |
void |
ncreate(String cuid,
String iuid,
Attributes data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
ncreate(String asuid,
String cuid,
String iuid,
Attributes data,
String tsuid) |
void |
ncreate(String asuid,
String cuid,
String iuid,
Attributes data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
ndelete(String cuid,
String iuid) |
void |
ndelete(String cuid,
String iuid,
DimseRSPHandler rspHandler) |
DimseRSP |
ndelete(String asuid,
String cuid,
String iuid) |
void |
ndelete(String asuid,
String cuid,
String iuid,
DimseRSPHandler rspHandler) |
DimseRSP |
neventReport(String cuid,
String iuid,
int eventTypeId,
Attributes data,
String tsuid) |
void |
neventReport(String cuid,
String iuid,
int eventTypeId,
Attributes data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
neventReport(String asuid,
String cuid,
String iuid,
int eventTypeId,
Attributes data,
String tsuid) |
void |
neventReport(String asuid,
String cuid,
String iuid,
int eventTypeId,
Attributes data,
String tsuid,
DimseRSPHandler rspHandler) |
int |
nextMessageID() |
DimseRSP |
nget(String cuid,
String iuid,
int[] tags) |
void |
nget(String cuid,
String iuid,
int[] tags,
DimseRSPHandler rspHandler) |
DimseRSP |
nget(String asuid,
String cuid,
String iuid,
int[] tags) |
void |
nget(String asuid,
String cuid,
String iuid,
int[] tags,
DimseRSPHandler rspHandler) |
DimseRSP |
nset(String cuid,
String iuid,
Attributes data,
String tsuid) |
void |
nset(String cuid,
String iuid,
Attributes data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
nset(String cuid,
String iuid,
DataWriter data,
String tsuid) |
void |
nset(String cuid,
String iuid,
DataWriter data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
nset(String asuid,
String cuid,
String iuid,
Attributes data,
String tsuid) |
void |
nset(String asuid,
String cuid,
String iuid,
Attributes data,
String tsuid,
DimseRSPHandler rspHandler) |
DimseRSP |
nset(String asuid,
String cuid,
String iuid,
DataWriter data,
String tsuid) |
void |
nset(String asuid,
String cuid,
String iuid,
DataWriter data,
String tsuid,
DimseRSPHandler rspHandler) |
(package private) void |
onAAbort(AAbort aa) |
(package private) void |
onAAssociateAC(AAssociateAC ac) |
(package private) void |
onAAssociateRJ(AAssociateRJ rj) |
(package private) void |
onAAssociateRQ(AAssociateRQ rq) |
(package private) void |
onAReleaseRP() |
(package private) void |
onAReleaseRQ() |
(package private) void |
onCancelRQ(Attributes cmd) |
private void |
onClose() |
(package private) void |
onDimseRQ(PresentationContext pc,
Dimse dimse,
Attributes cmd,
PDVInputStream data) |
(package private) void |
onDimseRSP(Dimse dimse,
Attributes cmd,
Attributes data) |
(package private) void |
onIOException(IOException e) |
(package private) void |
onPDataTF() |
private PresentationContext |
pcFor(String cuid,
String tsuid) |
void |
release() |
void |
releaseGracefully()
Releases the association in a graceful way.
|
CancelRQHandler |
removeCancelRQHandler(int msgId) |
private DimseRSPHandler |
removeDimseRSPHandler(int msgId) |
void |
setProperty(Object value) |
Object |
setProperty(String key,
Object value) |
private void |
startAcceptTimeout() |
private void |
startIdleOrReleaseTimeout() |
private void |
startIdleTimeout() |
private void |
startReleaseTimeout() |
private void |
startRequestTimeout() |
private void |
startTimeout(int msgID,
int timeout) |
private void |
startTimeout(String startMsg,
String expiredMsg,
String cancelMsg,
int timeout,
State state) |
private void |
stopTimeout() |
String |
toString() |
boolean |
tryWriteDimseRSP(PresentationContext pc,
Attributes cmd) |
boolean |
tryWriteDimseRSP(PresentationContext pc,
Attributes cmd,
Attributes data) |
(package private) void |
unexpectedPDU(String pdu) |
(package private) void |
waitForEntering(State state) |
(package private) void |
waitForLeaving(State state) |
void |
waitForOutstandingRSP() |
private void |
waitForPerformingOps() |
void |
waitForSocketClose() |
(package private) void |
write(AAbort aa) |
private void |
write(AAssociateAC ac) |
private void |
write(AAssociateRJ e) |
(package private) void |
write(AAssociateRQ rq) |
(package private) void |
writeAReleaseRQ() |
void |
writeDimseRSP(PresentationContext pc,
Attributes cmd) |
void |
writeDimseRSP(PresentationContext pc,
Attributes cmd,
Attributes data) |
(package private) void |
writePDataTF() |
private static final AtomicInteger prevSerialNo
private final AtomicInteger messageID
private final int serialNo
private final boolean requestor
private ApplicationEntity ae
private final Connection conn
private final InputStream in
private final OutputStream out
private final PDUEncoder encoder
private PDUDecoder decoder
private AAssociateRQ rq
private AAssociateAC ac
private IOException ex
private HashMap<String,Object> properties
private int maxOpsInvoked
private int maxPDULength
private int performing
private final IntHashMap<DimseRSPHandler> rspHandlerForMsgId
private final IntHashMap<CancelRQHandler> cancelHandlerForMsgId
Association(ApplicationEntity ae, Connection local, Socket sock) throws IOException
IOException
public int nextMessageID()
public final Connection getConnection()
public final AAssociateRQ getAAssociateRQ()
public final AAssociateAC getAAssociateAC()
public final IOException getException()
public final ApplicationEntity getApplicationEntity()
public Object getProperty(String key)
public <T> T getProperty(Class<T> clazz)
public void setProperty(Object value)
public boolean containsProperty(String key)
public Object setProperty(String key, Object value)
public Object clearProperty(String key)
public final boolean isRequestor()
public boolean isReadyForDataTransfer()
private void checkIsSCP(String cuid) throws NoRoleSelectionException
NoRoleSelectionException
private void checkIsSCU(String cuid) throws NoRoleSelectionException
NoRoleSelectionException
public String getCallingAET()
public String getCalledAET()
public String getRemoteAET()
public String getLocalAET()
public String getRemoteImplVersionName()
public String getRemoteImplClassUID()
public String getLocalImplVersionName()
public String getLocalImplClassUID()
final int getMaxPDULengthSend()
boolean isPackPDV()
public void release() throws IOException
IOException
public void abort()
private void closeSocket()
void doCloseSocket()
private void closeSocketDelayed()
void doCloseSocketDelayed()
void onIOException(IOException e)
void write(AAbort aa) throws IOException
IOException
void writeAReleaseRQ() throws IOException
IOException
private void startRequestTimeout()
private void startAcceptTimeout()
private void startReleaseTimeout()
private void startIdleTimeout()
private void startTimeout(String startMsg, String expiredMsg, String cancelMsg, int timeout, State state)
private void startTimeout(int msgID, int timeout)
private void stopTimeout()
public void waitForOutstandingRSP() throws InterruptedException
InterruptedException
void write(AAssociateRQ rq) throws IOException
IOException
private void write(AAssociateAC ac) throws IOException
IOException
private void write(AAssociateRJ e) throws IOException
IOException
private void checkException() throws IOException
IOException
private void enterState(State newState)
void waitForLeaving(State state) throws InterruptedException, IOException
InterruptedException
IOException
void waitForEntering(State state) throws InterruptedException, IOException
InterruptedException
IOException
public void waitForSocketClose() throws InterruptedException, IOException
InterruptedException
IOException
private void activate()
private void onClose()
void onAAssociateRQ(AAssociateRQ rq) throws IOException
IOException
void handle(AAssociateRQ rq) throws IOException
IOException
void onAAssociateAC(AAssociateAC ac) throws IOException
IOException
void handle(AAssociateAC ac) throws IOException
IOException
void onAAssociateRJ(AAssociateRJ rj) throws IOException
IOException
void handle(AAssociateRJ rq)
void onAReleaseRQ() throws IOException
IOException
void handleAReleaseRQ() throws IOException
IOException
private void waitForPerformingOps()
void handleAReleaseRQCollision() throws IOException
IOException
void onAReleaseRP() throws IOException
IOException
void handleAReleaseRP() throws IOException
IOException
void handleAReleaseRPCollision() throws IOException
IOException
void unexpectedPDU(String pdu) throws AAbort
AAbort
void onPDataTF() throws IOException
IOException
void handlePDataTF() throws IOException
IOException
void writePDataTF() throws IOException
IOException
void doWritePDataTF() throws IOException
IOException
void onDimseRQ(PresentationContext pc, Dimse dimse, Attributes cmd, PDVInputStream data) throws IOException
IOException
private void incPerforming()
private void decPerforming()
void onDimseRSP(Dimse dimse, Attributes cmd, Attributes data) throws AAbort
AAbort
private void startIdleOrReleaseTimeout()
private void addDimseRSPHandler(DimseRSPHandler rspHandler) throws InterruptedException
InterruptedException
private DimseRSPHandler getDimseRSPHandler(int msgId)
private DimseRSPHandler removeDimseRSPHandler(int msgId)
void cancel(PresentationContext pc, int msgId) throws IOException
IOException
public boolean tryWriteDimseRSP(PresentationContext pc, Attributes cmd)
public boolean tryWriteDimseRSP(PresentationContext pc, Attributes cmd, Attributes data)
public void writeDimseRSP(PresentationContext pc, Attributes cmd) throws IOException
IOException
public void writeDimseRSP(PresentationContext pc, Attributes cmd, Attributes data) throws IOException
IOException
void onCancelRQ(Attributes cmd) throws IOException
IOException
public void addCancelRQHandler(int msgId, CancelRQHandler handler)
public CancelRQHandler removeCancelRQHandler(int msgId)
private void initPCMap()
private HashMap<String,PresentationContext> initTSMap(String as)
private PresentationContext pcFor(String cuid, String tsuid) throws NoPresentationContextException
NoPresentationContextException
public Set<String> getTransferSyntaxesFor(String cuid)
PresentationContext getPresentationContext(int pcid)
public CommonExtendedNegotiation getCommonExtendedNegotiationFor(String cuid)
public void cstore(String cuid, String iuid, int priority, DataWriter data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public void cstore(String asuid, String cuid, String iuid, int priority, DataWriter data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP cstore(String cuid, String iuid, int priority, DataWriter data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP cstore(String asuid, String cuid, String iuid, int priority, DataWriter data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public void cstore(String cuid, String iuid, int priority, String moveOriginatorAET, int moveOriginatorMsgId, DataWriter data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public void cstore(String asuid, String cuid, String iuid, int priority, String moveOriginatorAET, int moveOriginatorMsgId, DataWriter data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP cstore(String cuid, String iuid, int priority, String moveOriginatorAET, int moveOriginatorMsgId, DataWriter data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP cstore(String asuid, String cuid, String iuid, int priority, String moveOriginatorAET, int moveOriginatorMsgId, DataWriter data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public void cfind(String cuid, int priority, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public void cfind(String asuid, String cuid, int priority, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP cfind(String cuid, int priority, Attributes data, String tsuid, int autoCancel) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP cfind(String asuid, String cuid, int priority, Attributes data, String tsuid, int autoCancel) throws IOException, InterruptedException
IOException
InterruptedException
public void cget(String cuid, int priority, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public void cget(String asuid, String cuid, int priority, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP cget(String cuid, int priority, Attributes data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP cget(String asuid, String cuid, int priority, Attributes data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public void cmove(String cuid, int priority, Attributes data, String tsuid, String destination, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public void cmove(String asuid, String cuid, int priority, Attributes data, String tsuid, String destination, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP cmove(String cuid, int priority, Attributes data, String tsuid, String destination) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP cmove(String asuid, String cuid, int priority, Attributes data, String tsuid, String destination) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP cecho() throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP cecho(String cuid) throws IOException, InterruptedException
IOException
InterruptedException
public void neventReport(String cuid, String iuid, int eventTypeId, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public void neventReport(String asuid, String cuid, String iuid, int eventTypeId, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP neventReport(String cuid, String iuid, int eventTypeId, Attributes data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP neventReport(String asuid, String cuid, String iuid, int eventTypeId, Attributes data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public void nget(String cuid, String iuid, int[] tags, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public void nget(String asuid, String cuid, String iuid, int[] tags, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP nget(String cuid, String iuid, int[] tags) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP nget(String asuid, String cuid, String iuid, int[] tags) throws IOException, InterruptedException
IOException
InterruptedException
public void nset(String cuid, String iuid, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public void nset(String asuid, String cuid, String iuid, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP nset(String cuid, String iuid, Attributes data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP nset(String asuid, String cuid, String iuid, Attributes data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public void nset(String cuid, String iuid, DataWriter data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public void nset(String asuid, String cuid, String iuid, DataWriter data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP nset(String cuid, String iuid, DataWriter data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP nset(String asuid, String cuid, String iuid, DataWriter data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public void naction(String cuid, String iuid, int actionTypeId, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public void naction(String asuid, String cuid, String iuid, int actionTypeId, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP naction(String cuid, String iuid, int actionTypeId, Attributes data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP naction(String asuid, String cuid, String iuid, int actionTypeId, Attributes data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public void ncreate(String cuid, String iuid, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public void ncreate(String asuid, String cuid, String iuid, Attributes data, String tsuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP ncreate(String cuid, String iuid, Attributes data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP ncreate(String asuid, String cuid, String iuid, Attributes data, String tsuid) throws IOException, InterruptedException
IOException
InterruptedException
public void ndelete(String cuid, String iuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public void ndelete(String asuid, String cuid, String iuid, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP ndelete(String cuid, String iuid) throws IOException, InterruptedException
IOException
InterruptedException
public DimseRSP ndelete(String asuid, String cuid, String iuid) throws IOException, InterruptedException
IOException
InterruptedException
private void invoke(PresentationContext pc, Attributes cmd, DataWriter data, DimseRSPHandler rspHandler, int rspTimeout) throws IOException, InterruptedException
IOException
InterruptedException
static int minZeroAsMax(int i1, int i2)
public Attributes createFileMetaInformation(String iuid, String cuid, String tsuid)
public void releaseGracefully()
Copyright © 2017 dcm4che.org. All rights reserved.