|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.connector.tcpip.model.client.TCPIPSocketEstablishmentInfo
public class TCPIPSocketEstablishmentInfo
This class represents TCPIP Socket establishment information.
Field Summary | |
---|---|
static java.lang.String |
version
|
Constructor Summary | |
---|---|
TCPIPSocketEstablishmentInfo()
Constructor for TCPIPSocketEstablishmentInfo. |
|
TCPIPSocketEstablishmentInfo(com.stc.connector.framework.util.ConfigurationHelper aConfiguration)
Constructor for TCPIPSocketEstablishmentInfo. |
Method Summary | |
---|---|
boolean |
getAutoReconnectUponMatchingFailure()
|
boolean |
getCreateConnection()
|
com.stc.connector.framework.util.ConfigurationHelper |
getInitPropertiesInfo()
Returns the initial configuration. |
int |
getMaxConnectionRetries()
|
long |
getRetryConnectionInterval()
|
long |
getTimeToWaitBeforeAttemptingConnection()
|
boolean |
isAutoReconnectUponMatchingFailure()
|
boolean |
isCreateConnection()
|
void |
setAutoReconnectUponMatchingFailure(boolean b)
|
void |
setCreateConnection(boolean b)
|
void |
setMaxConnectionRetries(int i)
|
void |
setRetryConnectionInterval(long l)
|
void |
setTimeToWaitBeforeAttemptingConnection(long l)
|
void |
validate()
Validates the socket configuration settings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String version
Constructor Detail |
---|
public TCPIPSocketEstablishmentInfo() throws TCPIPApplicationException
TCPIPApplicationException
- on error.public TCPIPSocketEstablishmentInfo(com.stc.connector.framework.util.ConfigurationHelper aConfiguration) throws TCPIPApplicationException
aConfiguration
- The initial properties into.
TCPIPApplicationException
- on error.Method Detail |
---|
public com.stc.connector.framework.util.ConfigurationHelper getInitPropertiesInfo()
public boolean getAutoReconnectUponMatchingFailure()
getAutoReconnectUponMatchingFailure
in interface TCPIPSocketEstablishmentInfoInterface
public boolean getCreateConnection()
getCreateConnection
in interface TCPIPSocketEstablishmentInfoInterface
public boolean isAutoReconnectUponMatchingFailure()
isAutoReconnectUponMatchingFailure
in interface TCPIPSocketEstablishmentInfoInterface
public boolean isCreateConnection()
isCreateConnection
in interface TCPIPSocketEstablishmentInfoInterface
public int getMaxConnectionRetries()
getMaxConnectionRetries
in interface TCPIPSocketEstablishmentInfoInterface
public long getRetryConnectionInterval()
getRetryConnectionInterval
in interface TCPIPSocketEstablishmentInfoInterface
public void setAutoReconnectUponMatchingFailure(boolean b)
b
- the value to be setpublic void setCreateConnection(boolean b)
b
- the value to be setpublic void setMaxConnectionRetries(int i) throws TCPIPApplicationException
i
- the value to be set
TCPIPApplicationException
public void setRetryConnectionInterval(long l) throws TCPIPApplicationException
l
- the value to be set
TCPIPApplicationException
public long getTimeToWaitBeforeAttemptingConnection()
getTimeToWaitBeforeAttemptingConnection
in interface TCPIPSocketEstablishmentInfoInterface
public void setTimeToWaitBeforeAttemptingConnection(long l) throws TCPIPApplicationException
l
- the value to be set
TCPIPApplicationException
public void validate() throws TCPIPApplicationException
TCPIPApplicationException
- on error
|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |