public class DicomEchoReply extends VerificationService
Constructor and Description |
---|
DicomEchoReply() |
Modifier and Type | Method and Description |
---|---|
void |
cecho(Association as,
int pcid,
DicomObject cmd) |
java.lang.String |
getLocalAET()
Get Local Application Entity Title
|
java.lang.String |
getLocalHost()
Get Local Host Name
|
int |
getLocalPort()
Get Local Port
|
java.lang.String |
getRemoteAET()
Get Remote Application Entity Title
|
java.lang.String |
getRemoteHost()
Get Remote Host Name
|
UserIdentity |
getUserIdentity()
Get Local User Identity
|
boolean |
isStarted() |
void |
setAcceptTimeout(int timeout) |
void |
setAssociationReaperPeriod(int period) |
void |
setConnectTimeout(int connectTimeout) |
void |
setDimseRspTimeout(int timeout) |
void |
setIdleTimeout(int timeout) |
void |
setLocalAET(java.lang.String calling)
Set Local Application Entity Title
|
void |
setLocalHost(java.lang.String hostname)
Set local Host Name
|
void |
setLocalPort(int port)
Set Local Port
|
void |
setMaxPDULengthReceive(int maxPDULength) |
void |
setMaxPDULengthSend(int maxPDULength) |
void |
setPackPDV(boolean packPDV) |
void |
setReceiveBufferSize(int bufferSize) |
void |
setReleaseTimeout(int timeout) |
void |
setRemoteAET(java.lang.String called)
Set Remote Application Entity Title
|
void |
setRemoteHost(java.lang.String hostname)
Set Remote Host Name
|
void |
setSendBufferSize(int bufferSize) |
void |
setSocketCloseDelay(int timeout) |
void |
setStarted(boolean started) |
void |
setTcpNoDelay(boolean tcpNoDelay) |
void |
setTransferSyntax(java.lang.String[] ts) |
void |
setUserIdentity(UserIdentity userIdentity)
Set Local User Identity
|
boolean |
startListening()
Start server socket accept client(s) connection
|
boolean |
stopListening()
Stop all active client socket connections
|
java.lang.String |
toString() |
public DicomEchoReply()
public final void setLocalHost(java.lang.String hostname)
hostname
- public final java.lang.String getLocalHost()
public final void setRemoteHost(java.lang.String hostname)
hostname
- public final java.lang.String getRemoteHost()
public final void setLocalPort(int port)
port
- public final int getLocalPort()
public final void setRemoteAET(java.lang.String called)
called
- public final java.lang.String getRemoteAET()
public final void setLocalAET(java.lang.String calling)
calling
- public final java.lang.String getLocalAET()
public final void setUserIdentity(UserIdentity userIdentity)
userIdentity
- public final UserIdentity getUserIdentity()
public boolean isStarted()
public void setStarted(boolean started)
public final void setConnectTimeout(int connectTimeout)
connectTimeout
- public final void setMaxPDULengthReceive(int maxPDULength)
maxPDULength
- public final void setMaxPDULengthSend(int maxPDULength)
maxPDULength
- public final void setPackPDV(boolean packPDV)
packPDV
- public final void setAssociationReaperPeriod(int period)
period
- public final void setDimseRspTimeout(int timeout)
timeout
- public final void setTcpNoDelay(boolean tcpNoDelay)
tcpNoDelay
- public final void setAcceptTimeout(int timeout)
timeout
- public final void setReleaseTimeout(int timeout)
timeout
- public final void setSocketCloseDelay(int timeout)
timeout
- public final void setReceiveBufferSize(int bufferSize)
bufferSize
- public final void setSendBufferSize(int bufferSize)
bufferSize
- public void setTransferSyntax(java.lang.String[] ts)
ts
- public final void setIdleTimeout(int timeout)
timeout
- public boolean startListening()
java.io.IOException
org.dcm4che2.net.ConfigurationException
java.lang.InterruptedException
public boolean stopListening()
java.io.IOException
org.dcm4che2.net.ConfigurationException
java.lang.InterruptedException
public java.lang.String toString()
public void cecho(Association as, int pcid, DicomObject cmd) throws java.io.IOException
java.io.IOException