|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.samples.business.sna.lu0.host.DummyLu0Message
This DummyLu0Message class represents a Lu0 message with message characteristics
Field Summary | |
---|---|
(package private) boolean |
_beginBracketIndicator
|
(package private) boolean |
_beginChainIndicator
|
(package private) boolean |
_cdi
|
(package private) java.lang.String |
_data
|
java.lang.String |
_dataReceived
|
boolean |
_dataSent
|
(package private) boolean |
_endBracketIndicator
|
(package private) boolean |
_endChainIndicator
|
(package private) boolean |
_expeditedFlow
|
(package private) boolean |
_fmhIncluded
|
(package private) boolean |
_messageToLu
|
(package private) java.lang.String |
_messageType
|
protected java.beans.PropertyChangeSupport |
_propertyChange
|
int |
_receiveRC
|
(package private) java.lang.String |
_responseModeIndicator
|
(package private) java.lang.String |
_seq_num
|
boolean |
_timeout
|
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
|
static java.lang.String |
REQUEST
|
Constructor Summary | |
---|---|
DummyLu0Message()
|
Method Summary | |
---|---|
void |
addData(java.lang.String data)
Adds aData to the existing message data. |
void |
finalize()
Clears all the atributes when no reference to this instance. |
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. |
java.lang.String |
getDataReceived()
Returns the message received from the communications channel or null if no message is received. |
boolean |
getDataSent()
Returns true if data has been sent . |
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. |
int |
getReceiveRC()
Returns the return code produced in the receive. |
java.lang.String |
getResponseModeIndicator()
Returns the responseModeIndicator. |
java.lang.String |
getSeq_num()
Return the sequence Number of this message |
boolean |
getTimeout()
Returns true if the timeout has been reached in receive. |
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. |
(package private) static DummyLu0Message |
newLu0Message(DummyLu0Message aMessage)
Creates a new instance of DummyLu0Message with the received message. |
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 |
setDataReceived(java.lang.String data)
Actualizes the message received from the communications channel. |
void |
setDataSent(boolean dataSent)
Actualizes if data has been sent. |
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 |
setReceiveRC(int RC)
Actualizes the return code produced in the receive. |
void |
setResponseModeIndicator(java.lang.String responseModeIndicator)
Sets the responseModeIndicator property (java.lang.String) value. |
void |
setResponseModeIndicatorFromBind(DummyLu0Bind bind,
boolean indicator)
Set ResponseModeIndicator, which checks the bind characteristics. |
void |
setSeq_num(java.lang.String seq_num)
Sets the seq_num property (java.lang.String) value. |
void |
setTimeout(boolean timeout)
Actualizes if the timeout has been reached in receive. |
DummyLuaCommon |
toCommon()
Creates a common instance with the characteristics of this message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COMPID
public static final java.lang.String REQUEST
public static final java.lang.String POSITIVE_RESPONSE
public static final java.lang.String NEGATIVE_RESPONSE
public static final java.lang.String NO_RESPONSE
public static final java.lang.String DEFINITE_RESPONSE
public static final java.lang.String EXCEPTION_RESPONSE
boolean _cdi
boolean _endBracketIndicator
boolean _endChainIndicator
boolean _fmhIncluded
boolean _beginBracketIndicator
boolean _beginChainIndicator
boolean _messageToLu
boolean _expeditedFlow
java.lang.String _data
java.lang.String _messageType
java.lang.String _seq_num
java.lang.String _responseModeIndicator
protected transient java.beans.PropertyChangeSupport _propertyChange
public java.lang.String _dataReceived
public int _receiveRC
public boolean _timeout
public boolean _dataSent
Constructor Detail |
public DummyLu0Message()
Method Detail |
public void finalize()
public java.lang.String getDataReceived()
public boolean getDataSent()
public int getReceiveRC()
public boolean getTimeout()
public void setDataReceived(java.lang.String data)
data
- Stringpublic void setDataSent(boolean dataSent)
dataSent
- booleanpublic void setReceiveRC(int RC)
RC
- intpublic void setTimeout(boolean timeout)
timeout
- booleanpublic void addData(java.lang.String data)
Adds aData to the existing message data.
public boolean getBeginBracketIndicator()
Returns true if message received has begin bracket indicator.
public boolean getBeginChainIndicator()
Returns true if message received has begin chain indicator.
public boolean getCdi()
Returns true if message received has change direction indicator.
public java.lang.String getData()
Returns the message string.
public boolean getEndBracketIndicator()
Returns true if message received has end bracket indicator.
public boolean getEndChainIndicator()
Returns true if message received has end chain indicator.
public boolean getExpeditedFlow()
Returns true if message received has expedited flow. False if message received has normal flow.
public boolean getFmhIncluded()
Returns true if message received has FMH included.
public boolean getMessageToLu()
Returns true if message received is from LU-LU session. Returns False if message received is from SSCP-LU session.
public java.lang.String getMessageType()
Returns the message type. The possible values are:
public java.lang.String getResponseModeIndicator()
Returns the responseModeIndicator. It can be:
public java.lang.String getSeq_num()
Return the sequence Number of this message
public boolean isDefiniteResponse()
Return true if the message is definiteResponse.
public boolean isExceptionResponse()
Return true if the message is ExceptionResponse.
public boolean isNoResponse()
Return true if the message is noResponse.
static DummyLu0Message newLu0Message(DummyLu0Message aMessage)
Creates a new instance of DummyLu0Message with the received message.
public void setBeginBracketIndicator(boolean beginBracketIndicator)
Sets the beginBracketIndicator property (boolean) value.
public void setBeginChainIndicator(boolean beginChainIndicator)
Sets the beginChainIndicator property (boolean) value.
public void setCdi(boolean cdi)
Sets the cdi property (boolean) value.
public void setData(java.lang.String data)
Sets message data String.
public void setEndBracketIndicator(boolean endBracketIndicator)
Sets the endBracketIndicator property (boolean) value.
public void setEndChainIndicator(boolean endChainIndicator)
Sets the endChainIndicator property (boolean) value.
public void setExpeditedFlow(boolean expeditedFlow)
Sets the expeditedFlow property (boolean) value.
public void setFmhIncluded(boolean fmhIncluded)
Sets the fmhIncluded property (boolean) value.
public void setMessageToLu(boolean messageToLu)
Sets the messageToLu property (boolean) value.
public void setMessageType(java.lang.String messageType)
Sets the messageType property (java.lang.String) value.
public void setResponseModeIndicator(java.lang.String responseModeIndicator)
Sets the responseModeIndicator property (java.lang.String) value.
responseModeIndicator can be:
public void setResponseModeIndicatorFromBind(DummyLu0Bind bind, boolean indicator)
Set ResponseModeIndicator, which checks the bind characteristics.
public void setSeq_num(java.lang.String seq_num)
Sets the seq_num property (java.lang.String) value.
public DummyLuaCommon toCommon()
Creates a common instance with the characteristics of this message.
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |