com.ibm.dse.services.comms
Class Lu0Message

java.lang.Object
  |
  +--com.ibm.dse.services.comms.Lu0Message

public class Lu0Message
extends java.lang.Object

This Lu0Message class represents a Lu0 message with message characteristics.


Field Summary
static java.lang.String COMPID
           
static java.lang.String DEFINITE_RESPONSE
           
static java.lang.String EXCEPTION_RESPONSE
           
static java.lang.String NEGATIVE_RESPONSE
           
static java.lang.String NO_RESPONSE
           
static java.lang.String POSITIVE_RESPONSE
           
protected  java.beans.PropertyChangeSupport propertyChange
           
static java.lang.String REQUEST
           
 
Constructor Summary
Lu0Message()
           
 
Method Summary
 void addData(java.lang.String aData)
          Adds aData to the existing message data.
 boolean getBeginBracketIndicator()
          Returns true if message received has begin bracket indicator.
 boolean getBeginChainIndicator()
          Returns true if message received has begin chain indicator.
 boolean getCdi()
          Returns true if message received has change direction indicator.
 java.lang.String getData()
          Returns the message string.
 boolean getEndBracketIndicator()
          Returns true if message received has end bracket indicator.
 boolean getEndChainIndicator()
          Returns true if message received has end chain indicator.
 boolean getExpeditedFlow()
          Returns true if message received has expedited flow.
 boolean getFmhIncluded()
          Returns true if message received has FMH included.
 boolean getMessageToLu()
          Returns true if message received is from LU-LU session.
 java.lang.String getMessageType()
          Returns the message type.
 java.lang.String getResponseModeIndicator()
          Returns the responseModeIndicator.
 java.lang.String getSeq_num()
          Return the sequence Number of this message
 boolean isDefiniteResponse()
          Return true if the message is definiteResponse.
 boolean isExceptionResponse()
          Return true if the message is ExceptionResponse.
 boolean isNoResponse()
          Return true if the message is noResponse.
 void setBeginBracketIndicator(boolean beginBracketIndicator)
          Sets the beginBracketIndicator property (boolean) value.
 void setBeginChainIndicator(boolean beginChainIndicator)
          Sets the beginChainIndicator property (boolean) value.
 void setCdi(boolean cdi)
          Sets the cdi property (boolean) value.
 void setData(java.lang.String data)
          Sets message data String.
 void setEndBracketIndicator(boolean endBracketIndicator)
          Sets the endBracketIndicator property (boolean) value.
 void setEndChainIndicator(boolean endChainIndicator)
          Sets the endChainIndicator property (boolean) value.
 void setExpeditedFlow(boolean expeditedFlow)
          Sets the expeditedFlow property (boolean) value.
 void setFmhIncluded(boolean fmhIncluded)
          Sets the fmhIncluded property (boolean) value.
 void setMessageToLu(boolean messageToLu)
          Sets the messageToLu property (boolean) value.
 void setMessageType(java.lang.String messageType)
          Sets the messageType property (java.lang.String) value.
 void setResponseModeIndicator(java.lang.String responseModeIndicator)
          Sets the responseModeIndicator property (java.lang.String) value.
 void setResponseModeIndicatorFromBind(Lu0Bind aBind, boolean aBoolean)
          Set ResponseModeIndicator, which checks the bind characteristics.
 void setSeq_num(java.lang.String seq_num)
          Sets the seq_num property (java.lang.String) value.
 LuaCommon toCommon()
          Creates a common instance with the characteristics of this message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPID

public static final java.lang.String COMPID

REQUEST

public static final java.lang.String REQUEST

POSITIVE_RESPONSE

public static final java.lang.String POSITIVE_RESPONSE

NEGATIVE_RESPONSE

public static final java.lang.String NEGATIVE_RESPONSE

NO_RESPONSE

public static final java.lang.String NO_RESPONSE

DEFINITE_RESPONSE

public static final java.lang.String DEFINITE_RESPONSE

EXCEPTION_RESPONSE

public static final java.lang.String EXCEPTION_RESPONSE

propertyChange

protected transient java.beans.PropertyChangeSupport propertyChange
Constructor Detail

Lu0Message

public Lu0Message()
Method Detail

addData

public void addData(java.lang.String aData)

Adds aData to the existing message data.


getBeginBracketIndicator

public boolean getBeginBracketIndicator()

Returns true if message received has begin bracket indicator.


getBeginChainIndicator

public boolean getBeginChainIndicator()

Returns true if message received has begin chain indicator.


getCdi

public boolean getCdi()

Returns true if message received has change direction indicator.


getData

public java.lang.String getData()

Returns the message string.


getEndBracketIndicator

public boolean getEndBracketIndicator()

Returns true if message received has end bracket indicator.


getEndChainIndicator

public boolean getEndChainIndicator()

Returns true if message received has end chain indicator.


getExpeditedFlow

public boolean getExpeditedFlow()

Returns true if message received has expedited flow. False if message received has normal flow.


getFmhIncluded

public boolean getFmhIncluded()

Returns true if message received has FMH included.


getMessageToLu

public boolean getMessageToLu()

Returns true if message received is from LU-LU session. Returns False if message received is from SSCP-LU session.


getMessageType

public java.lang.String getMessageType()

Returns the message type. The possible values are:


getResponseModeIndicator

public java.lang.String getResponseModeIndicator()

Returns the responseModeIndicator. It can be:


getSeq_num

public java.lang.String getSeq_num()

Return the sequence Number of this message


isDefiniteResponse

public boolean isDefiniteResponse()

Return true if the message is definiteResponse.


isExceptionResponse

public boolean isExceptionResponse()

Return true if the message is ExceptionResponse.


isNoResponse

public boolean isNoResponse()

Return true if the message is noResponse.


setBeginBracketIndicator

public void setBeginBracketIndicator(boolean beginBracketIndicator)

Sets the beginBracketIndicator property (boolean) value.


setBeginChainIndicator

public void setBeginChainIndicator(boolean beginChainIndicator)

Sets the beginChainIndicator property (boolean) value.


setCdi

public void setCdi(boolean cdi)

Sets the cdi property (boolean) value.


setData

public void setData(java.lang.String data)

Sets message data String.


setEndBracketIndicator

public void setEndBracketIndicator(boolean endBracketIndicator)

Sets the endBracketIndicator property (boolean) value.


setEndChainIndicator

public void setEndChainIndicator(boolean endChainIndicator)

Sets the endChainIndicator property (boolean) value.


setExpeditedFlow

public void setExpeditedFlow(boolean expeditedFlow)

Sets the expeditedFlow property (boolean) value.


setFmhIncluded

public void setFmhIncluded(boolean fmhIncluded)

Sets the fmhIncluded property (boolean) value.


setMessageToLu

public void setMessageToLu(boolean messageToLu)

Sets the messageToLu property (boolean) value.


setMessageType

public void setMessageType(java.lang.String messageType)

Sets the messageType property (java.lang.String) value.


setResponseModeIndicator

public void setResponseModeIndicator(java.lang.String responseModeIndicator)

Sets the responseModeIndicator property (java.lang.String) value.

responseModeIndicator can be:


setResponseModeIndicatorFromBind

public void setResponseModeIndicatorFromBind(Lu0Bind aBind,
                                             boolean aBoolean)

Set ResponseModeIndicator, which checks the bind characteristics.


setSeq_num

public void setSeq_num(java.lang.String seq_num)

Sets the seq_num property (java.lang.String) value.


toCommon

public LuaCommon toCommon()

Creates a common instance with the characteristics of this message.