public class CstaSoapModule extends java.lang.Object implements CstaNetworkLayer
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
CstaSoapModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
disconnectOSV()
disconnectOSV
|
java.lang.String |
getCstaServerIp()
Soap Server Ip
|
java.lang.String |
getHostEventURL() |
java.lang.String |
getLocalIP() |
int |
getLocalPort() |
int |
getMaxHttpConnections() |
java.lang.String |
getPath()
getPath
|
int |
getPort()
getPort
|
boolean |
init(CstaLink parser)
Initialize and setup the HTTP/SOAP connection and connect to OSV.
|
boolean |
isCstaConnected()
isCstaConnected
|
boolean |
isKeepAlive() |
java.lang.StringBuffer |
Send(java.lang.StringBuffer cstaXml)
Send a CstaRequest using HTTP/SOAP, and block until a response is received.
|
void |
SendOneWay(java.lang.StringBuffer cstaXml)
Send the message.
|
void |
setCstaConnected(boolean cstaConnected)
setCstaConnected
|
void |
setCstaServerIp(java.lang.String cstaServerIp)
Soap Server Ip
|
void |
setHostEventURL(java.lang.String hostEventURL) |
void |
setKeepAlive(boolean isKeepAlive) |
void |
setLinkListener(CstaSystem linkListener) |
void |
setLocalIP(java.lang.String localIP) |
void |
setLocalPort(int localPort) |
void |
setMaxHttpConnections(int maxHttpConnections) |
void |
setPath(java.lang.String path)
setPath
|
void |
setPort(int port)
setPort
|
public void setCstaConnected(boolean cstaConnected)
cstaConnected
- public boolean isCstaConnected()
public void setPath(java.lang.String path)
path
- public java.lang.String getPath()
public void setPort(int port)
port
- public int getPort()
public void setCstaServerIp(java.lang.String cstaServerIp)
cstaServerIp
- public java.lang.String getCstaServerIp()
public java.lang.String getHostEventURL()
public void setHostEventURL(java.lang.String hostEventURL)
public boolean isKeepAlive()
public void setKeepAlive(boolean isKeepAlive)
public int getMaxHttpConnections()
public void setMaxHttpConnections(int maxHttpConnections)
public void setLocalIP(java.lang.String localIP)
public java.lang.String getLocalIP()
public void setLocalPort(int localPort)
public int getLocalPort()
public boolean init(CstaLink parser) throws CstaException
init
in interface CstaNetworkLayer
CstaException
public java.lang.StringBuffer Send(java.lang.StringBuffer cstaXml) throws CstaException
Send
in interface CstaNetworkLayer
cstaXml
- in XML StringCstaException
public void SendOneWay(java.lang.StringBuffer cstaXml) throws CstaException
SendOneWay
in interface CstaNetworkLayer
CstaException
public boolean disconnectOSV()
disconnectOSV
in interface CstaNetworkLayer
public void setLinkListener(CstaSystem linkListener)
setLinkListener
in interface CstaNetworkLayer