public abstract class AbstractMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
m_messageCode
Stores the message code.
|
private java.lang.Object |
m_messageData
Stores some message data, which maybe was sent with the message.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractMessage(int a_messageCode)
This creates a new AbstractMessage.
|
protected |
AbstractMessage(int a_messageCode,
java.lang.Object a_messageData)
This creates a new AbstractMessage.
|
Modifier and Type | Method and Description |
---|---|
int |
getMessageCode()
This returns the message code of this message.
|
java.lang.Object |
getMessageData()
Returns the message data, which was sent with the message.
|
private int m_messageCode
private java.lang.Object m_messageData
protected AbstractMessage(int a_messageCode)
a_messageCode
- The message code.protected AbstractMessage(int a_messageCode, java.lang.Object a_messageData)
a_messageCode
- The message code.a_messageData
- The data to send with the message.public int getMessageCode()
public java.lang.Object getMessageData()
Copyright © 2023. All rights reserved.