|
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.merge.HL7.HL7SocketConfiguration
com.merge.HL7.HL7ReceiverConfiguration
public class HL7ReceiverConfiguration
Represents the configuration of a message receiver service.
The fields of this class are initialized either from a configuration file, from a Properties object, from values directly passed to the constructors or from the toolkit properties.
Additionally to the base classes properties, the following properties are recognized:
connectionBackLog
blockIPs
allowIPs
HL7Receiver| Field Summary | |
|---|---|
java.lang.String |
allowIPs
The comma separated list of IP addresses to accept connections from. |
java.lang.String |
blockIPs
A comma separated list of IP addresses to reject connections from. |
int |
connectionBackLog
The maximum queue length for incoming connection indications. |
| Fields inherited from class com.merge.HL7.HL7SocketConfiguration |
|---|
autoSenseInterval, autoSenseReceiveEndSequence, characterEncoding, formatter, hostName, portNumber, receiveEndSequence, receiveTimeout, sendPacingInterval, sendTimeout, transmitEndSequence, transmitStartSequence |
| Constructor Summary | |
|---|---|
HL7ReceiverConfiguration(int portNumber)
Initializes a new receiver configuration instance using the specified port number. |
|
HL7ReceiverConfiguration(java.util.Properties props)
Initializes a new receiver configuration instance using values read from a Properties object. |
|
HL7ReceiverConfiguration(java.lang.String configFile)
Initializes a new receiver configuration instance using values read from a configuration file. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Provides the string representation of this receiver configuration containing the value of all fields. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final int connectionBackLog
public final java.lang.String blockIPs
public final java.lang.String allowIPs
| Constructor Detail |
|---|
public HL7ReceiverConfiguration(int portNumber)
portNumber - The port number of the listener.public HL7ReceiverConfiguration(java.lang.String configFile)
See the class description for a list of property names.
configFile - The path to the configuration file.public HL7ReceiverConfiguration(java.util.Properties props)
See the class description for a list of property names.
props - A Properties object containing receiver configuration values.| Method Detail |
|---|
public java.lang.String toString()
toString in class HL7SocketConfiguration
|
Copyright © 2009 Merge Healthcare Inc. All Rights Reserved. | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||