Sun Adapter for TCP/IP HL7

com.stc.connector.tcpip.ext.webservice
Class TCPIPEXTWSMessage

java.lang.Object
  extended by com.stc.connector.tcpip.model.webservice.TCPIPWSMessage
      extended by com.stc.connector.tcpip.ext.webservice.TCPIPEXTWSMessage

public class TCPIPEXTWSMessage
extends TCPIPWSMessage

This class represents the input/output message for the extended TCP/IP web services.

Version:
cvs revision: $Revision: 1.3 $ Last Modified: $Date: 2008/04/23 07:18:14 $
Author:
Harry Liu

Field Summary
static java.lang.String version
           
 
Constructor Summary
protected TCPIPEXTWSMessage()
          Default Constructor.
  TCPIPEXTWSMessage(java.lang.String messageType)
          Constructor.
 
Method Summary
 byte[] getEnvelopedMsg()
           
 boolean isClientMessageType()
          Method isClientMessageType.
 boolean isClosed()
          Method isClosed.
 boolean isServerMessageType()
          Method isServerMessageType.
 void setClientApplication(java.lang.Object clientApplication)
          Sets the clientApplication.
 void setEnvelopedMsg(byte[] bs)
           
 void setServerApplication(java.lang.Object serverApplication)
          Sets the serverApplication.
 
Methods inherited from class com.stc.connector.tcpip.model.webservice.TCPIPWSMessage
getAutoClose, getAutoReconnect, getBytes, getClientApplication, getEncoding, getServerApplication, getString, isAutoClose, isAutoReconnect, setAutoClose, setAutoReconnect, setBytes, setEncoding, setString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static final java.lang.String version
See Also:
Constant Field Values
Constructor Detail

TCPIPEXTWSMessage

protected TCPIPEXTWSMessage()
Default Constructor.


TCPIPEXTWSMessage

public TCPIPEXTWSMessage(java.lang.String messageType)
                  throws TCPIPWSException
Constructor.

Parameters:
messageType - TCPIPEXTWSContainer.TCPIPEXT_CLIENT_PORT_TYPE or TCPIPEXTWSContainer.TCPIPEXT_SERVER_PORT_TYPE
Throws:
TCPIPWSException - on error
Method Detail

isServerMessageType

public boolean isServerMessageType()
Description copied from class: TCPIPWSMessage
Method isServerMessageType.

Overrides:
isServerMessageType in class TCPIPWSMessage
Returns:
boolean
See Also:
TCPIPWSMessage.isServerMessageType()

isClientMessageType

public boolean isClientMessageType()
Description copied from class: TCPIPWSMessage
Method isClientMessageType.

Overrides:
isClientMessageType in class TCPIPWSMessage
Returns:
boolean
See Also:
TCPIPWSMessage.isClientMessageType()

setClientApplication

public void setClientApplication(java.lang.Object clientApplication)
                          throws TCPIPWSException
Description copied from class: TCPIPWSMessage
Sets the clientApplication.

Overrides:
setClientApplication in class TCPIPWSMessage
Parameters:
clientApplication - The clientApplication to set
Throws:
TCPIPWSException - on error
See Also:
TCPIPWSMessage.setClientApplication(java.lang.Object)

setServerApplication

public void setServerApplication(java.lang.Object serverApplication)
                          throws TCPIPWSException
Description copied from class: TCPIPWSMessage
Sets the serverApplication.

Overrides:
setServerApplication in class TCPIPWSMessage
Parameters:
serverApplication - The serverApplication to set
Throws:
TCPIPWSException - on error
See Also:
TCPIPWSMessage.setServerApplication(java.lang.Object)

isClosed

public boolean isClosed()
Description copied from class: TCPIPWSMessage
Method isClosed.

Overrides:
isClosed in class TCPIPWSMessage
Returns:
boolean
See Also:
TCPIPWSMessage.isClosed()

getEnvelopedMsg

public byte[] getEnvelopedMsg()
Returns:
byte[]

setEnvelopedMsg

public void setEnvelopedMsg(byte[] bs)
Parameters:
bs - The value to set

Sun Adapter for TCP/IP HL7