public class SMGPBaseMessage extends Object implements Message
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
commandId |
protected int |
commandLength |
protected Object |
extId |
protected Vector |
optionalParameters |
protected int |
sequenceNumber |
static int |
SZ_HEADER |
| 构造器和说明 |
|---|
SMGPBaseMessage() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
fromBytes(byte[] bytes) |
protected byte[] |
getBody() |
int |
getCommandId() |
int |
getCommandLength() |
Object |
getExtId() |
int |
getSequenceNumber() |
protected String |
minus86(String mobile) |
protected String |
plus86(String mobile) |
protected void |
registerOptional(TLV tlv) |
String |
sequenceString() |
protected int |
setBody(byte[] bodyBytes) |
void |
setCommandId(int commandId) |
void |
setCommandLength(int commandLength) |
void |
setExtId(Object extId) |
void |
setSequenceNumber(int sequenceNumber) |
byte[] |
toBytes() |
String |
toString() |
public static final int SZ_HEADER
protected int commandLength
protected int commandId
protected int sequenceNumber
protected Object extId
protected Vector optionalParameters
protected void registerOptional(TLV tlv)
public int getCommandId()
public void setCommandId(int commandId)
public int getCommandLength()
public void setCommandLength(int commandLength)
public int getSequenceNumber()
public void setSequenceNumber(int sequenceNumber)
public Object getExtId()
public void setExtId(Object extId)
public String sequenceString()
Copyright © 2019. All rights reserved.