|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.bt747.gps.mtk.MtkBinTransportMessageModel
public class MtkBinTransportMessageModel
Model for MTK binary data package.
Constructor Summary | |
---|---|
MtkBinTransportMessageModel(int type,
byte[] payload)
|
Method Summary | |
---|---|
byte[] |
getMessage()
Provide the transport message. |
byte[] |
getPayLoad()
Get the transport message payload. |
int |
getType()
Get the type of the message. |
boolean |
setMessage(byte[] message)
Sets the message. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MtkBinTransportMessageModel(int type, byte[] payload)
type
- payload
- The Payload - warning the pointer is taken !Method Detail |
---|
public byte[] getPayLoad()
public int getType()
public byte[] getMessage()
public boolean setMessage(byte[] message)
message
-
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |