public class HL7DeviceExtension extends DeviceExtension
Modifier and Type | Field and Description |
---|---|
private Map<String,HL7Application> |
hl7apps |
private HL7MessageListener |
hl7MessageListener |
private static long |
serialVersionUID |
device
Constructor and Description |
---|
HL7DeviceExtension() |
Modifier and Type | Method and Description |
---|---|
void |
addHL7Application(HL7Application hl7App) |
boolean |
containsHL7Application(String name) |
HL7Application |
getHL7Application(String name) |
Collection<String> |
getHL7ApplicationNames() |
Collection<HL7Application> |
getHL7Applications() |
Map<String,HL7Application> |
getHl7apps() |
HL7MessageListener |
getHL7MessageListener() |
(package private) byte[] |
onMessage(HL7Segment msh,
byte[] msg,
int off,
int len,
int mshlen,
Connection conn,
Socket s) |
void |
reconfigure(DeviceExtension from) |
private void |
reconfigureHL7Applications(HL7DeviceExtension from) |
boolean |
removeHL7Application(HL7Application hl7App) |
HL7Application |
removeHL7Application(String name) |
void |
setHl7apps(Map<String,HL7Application> hl7apps) |
void |
setHL7MessageListener(HL7MessageListener listener) |
void |
verifyNotUsed(Connection conn) |
getBaseClass, getDevice, setDevice
private static final long serialVersionUID
private Map<String,HL7Application> hl7apps
private transient HL7MessageListener hl7MessageListener
public HL7DeviceExtension()
public Map<String,HL7Application> getHl7apps()
public void setHl7apps(Map<String,HL7Application> hl7apps)
public void verifyNotUsed(Connection conn)
verifyNotUsed
in class DeviceExtension
public void addHL7Application(HL7Application hl7App)
public HL7Application removeHL7Application(String name)
public boolean removeHL7Application(HL7Application hl7App)
public HL7Application getHL7Application(String name)
public boolean containsHL7Application(String name)
public Collection<String> getHL7ApplicationNames()
public Collection<HL7Application> getHL7Applications()
public final HL7MessageListener getHL7MessageListener()
public final void setHL7MessageListener(HL7MessageListener listener)
byte[] onMessage(HL7Segment msh, byte[] msg, int off, int len, int mshlen, Connection conn, Socket s) throws HL7Exception
HL7Exception
public void reconfigure(DeviceExtension from)
reconfigure
in class DeviceExtension
private void reconfigureHL7Applications(HL7DeviceExtension from)
Copyright © 2017 dcm4che.org. All rights reserved.