|
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.connector2.sna.lu62.host.Lu62Message
The Lu62Message class represents a Lu62 message with message characteristics.
Field Summary | |
---|---|
java.lang.String |
dataReceived
|
boolean |
dataSent
|
char[] |
fieldBuffer
|
java.lang.String |
fieldConversationStatus
|
int |
fieldDataReceivedType
|
int |
fieldReceivedLength
|
int |
fieldRequestedLength
|
boolean |
fieldRequestToSendReceived
|
int |
fieldStatusReceived
|
int |
receiveRC
|
(package private) int[] |
segmentsLengths
|
boolean |
timeout
|
Constructor Summary | |
---|---|
Lu62Message()
|
Method Summary | |
---|---|
void |
addBuffer(java.lang.String aData)
Adds the aData to the existing message data. |
void |
finalize()
Clear all the atributes when no reference to this instance. |
java.lang.String |
getBuffer()
Gets the buffer property (java.lang.String) value. |
java.lang.String |
getConversationStatus()
Gets the conversationStatus property (int) value. |
java.lang.String |
getDataReceived()
Returns the message received from the communications channel or null if no message is received. |
int |
getDataReceivedType()
Gets the dataReceived property (int) value. |
boolean |
getDataSent()
Returns true if data has been sent . |
int |
getReceivedLength()
Gets the receivedLength property (int) value. |
int |
getReceiveRC()
Returns the return code produced in the receive. |
int |
getRequestedLength()
Gets the requestedLength property (int) value. |
boolean |
getRequestToSendReceived()
Gets the requestToSendReceived property (boolean) value. |
int[] |
getSegmentsLengths()
Gets the segmentsLengths property int [] value. |
int |
getStatusReceived()
Gets the statusReceived property (int) value. |
boolean |
getTimeout()
Returns true if the timeout has been reached in receive. |
void |
newBuffer(int length)
Creates a new char[] for attribute buffer with the specified length. |
(package private) static Lu62Message |
newLu62Message(Lu62Message aMessage)
Creates a new instance of Lu62Message from the received message. |
void |
newSegmentsLengths(int length)
Creates a new char[] for attribute segmentsLengths with the specified length. |
void |
setBuffer(java.lang.String buffer)
Sets the buffer property (java.lang.String) value. |
void |
setConversationStatus(java.lang.String aStatus)
Sets the conversationStatus property (int) value. |
void |
setDataReceived(java.lang.String aData)
Actualizes the message received from the communications channel. |
void |
setDataReceivedType(int dataReceived)
Sets the dataReceivedType property (int) value. |
void |
setDataSent(boolean aDataSent)
Actualizes if data has been sent. |
void |
setReceivedLength(int receivedLength)
Sets the receivedLength property (int) value. |
void |
setReceiveRC(int aRC)
Actualizes the return code produced in the receive. |
void |
setRequestedLength(int requestedLength)
Sets the requestedLength property (int) value. |
void |
setRequestToSendReceived(boolean requestToSendReceived)
Sets the requestToSendReceived property (boolean) value. |
void |
setStatusReceived(int statusReceived)
Sets the statusReceived property (int) value. |
void |
setTimeout(boolean aTimeout)
Actualizes if the timeout has been reached in receive. |
java.lang.String |
toString()
Converts Lu62Message to string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int fieldRequestedLength
public int fieldReceivedLength
public int fieldDataReceivedType
public int fieldStatusReceived
public boolean fieldRequestToSendReceived
public char[] fieldBuffer
public java.lang.String fieldConversationStatus
int[] segmentsLengths
public java.lang.String dataReceived
public int receiveRC
public boolean timeout
public boolean dataSent
Constructor Detail |
public Lu62Message()
Method Detail |
public void addBuffer(java.lang.String aData)
Adds the aData to the existing message data.
aData
- java.lang.Stringpublic void finalize()
Clear all the atributes when no reference to this instance.
public java.lang.String getBuffer()
Gets the buffer property (java.lang.String) value.
setBuffer(java.lang.String)
public java.lang.String getConversationStatus()
Gets the conversationStatus property (int) value.
setConversationStatus(java.lang.String)
public int getDataReceivedType()
Gets the dataReceived property (int) value.
setDataReceived(java.lang.String)
public int getReceivedLength()
Gets the receivedLength property (int) value.
setReceivedLength(int)
public int getRequestedLength()
Gets the requestedLength property (int) value.
setRequestedLength(int)
public boolean getRequestToSendReceived()
Gets the requestToSendReceived property (boolean) value.
setRequestToSendReceived(boolean)
public int[] getSegmentsLengths()
Gets the segmentsLengths property int [] value.
public int getStatusReceived()
Gets the statusReceived property (int) value.
setStatusReceived(int)
public void newBuffer(int length)
length
- intstatic Lu62Message newLu62Message(Lu62Message aMessage)
Creates a new instance of Lu62Message from the received message.
public void newSegmentsLengths(int length)
length
- intpublic void setBuffer(java.lang.String buffer)
Sets the buffer property (java.lang.String) value.
buffer
- The new value for the property.getBuffer()
public void setConversationStatus(java.lang.String aStatus)
Sets the conversationStatus property (int) value.
aStatus
- The new value for the property.getConversationStatus()
public void setDataReceivedType(int dataReceived)
Sets the dataReceivedType property (int) value.
dataReceived
- The new value for the property.getDataReceived()
public void setReceivedLength(int receivedLength)
Sets the receivedLength property (int) value.
receivedLength
- The new value for the property.getReceivedLength()
public void setRequestedLength(int requestedLength)
Sets the requestedLength property (int) value.
requestedLength
- The new value for the property.getRequestedLength()
public void setRequestToSendReceived(boolean requestToSendReceived)
Sets the requestToSendReceived property (boolean) value.
requestToSendReceived
- The new value for the property.getRequestToSendReceived()
public void setStatusReceived(int statusReceived)
Sets the statusReceived property (int) value.
statusReceived
- The new value for the property.getStatusReceived()
public java.lang.String toString()
Converts Lu62Message to string.
public java.lang.String getDataReceived()
public boolean getDataSent()
public int getReceiveRC()
public boolean getTimeout()
public void setDataReceived(java.lang.String aData)
aData
- Stringpublic void setDataSent(boolean aDataSent)
aDataSent
- booleanpublic void setReceiveRC(int aRC)
aRC
- intpublic void setTimeout(boolean aTimeout)
aTimeout
- boolean
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |