public abstract class DicomNetwork extends java.lang.Object
Constructor and Description |
---|
DicomNetwork(java.lang.String DeviceName) |
Modifier and Type | Method and Description |
---|---|
boolean |
connectAfter(LogEventAfter e)
Connect to the service after happen
For example in the case of c-move it will happen after send all images
|
boolean |
connectBefore(LogEventBefore e)
Connect to the service before happen
For example in the case of c-move it will happen before send images
|
boolean |
connectServices(LogEvent e)
When a service is started or stopped it will be called after service
start/stop
|
abstract boolean |
doStartService() |
abstract boolean |
doStopService() |
java.lang.String |
getAETitle() |
Device |
getDevice() |
NetworkApplicationEntity |
getLocalAE() |
NetworkConnection |
getLocalConn() |
NetworkApplicationEntity |
getRemoteAE() |
NetworkConnection |
getRemoteConn() |
void |
setAETitle(java.lang.String AETitle) |
void |
setDevice(Device device) |
void |
setLocalAE(NetworkApplicationEntity localAE) |
void |
setLocalConn(NetworkConnection localConn) |
void |
setRemoteAE(NetworkApplicationEntity remoteAE) |
void |
setRemoteConn(NetworkConnection remoteConn) |
boolean |
startListening() |
boolean |
stopListening() |
public DicomNetwork(java.lang.String DeviceName)
public boolean connectAfter(LogEventAfter e)
e
- An class that implement methods to be callpublic boolean connectBefore(LogEventBefore e)
e
- An class that implement methods to be callpublic boolean connectServices(LogEvent e)
e
- the class that have necessary callbacks implementedpublic boolean startListening()
public boolean stopListening()
public abstract boolean doStartService()
public abstract boolean doStopService()
public NetworkApplicationEntity getRemoteAE()
public void setRemoteAE(NetworkApplicationEntity remoteAE)
remoteAE
- the remoteAE to setpublic NetworkConnection getRemoteConn()
public void setRemoteConn(NetworkConnection remoteConn)
remoteConn
- the remoteConn to setpublic Device getDevice()
public void setDevice(Device device)
device
- the device to setpublic NetworkApplicationEntity getLocalAE()
public void setLocalAE(NetworkApplicationEntity localAE)
localAE
- the localAE to setpublic NetworkConnection getLocalConn()
public void setLocalConn(NetworkConnection localConn)
localConn
- the localConn to setpublic java.lang.String getAETitle()
public void setAETitle(java.lang.String AETitle)
AETitle
- the AETitle to set