📄 submitmultism.java
字号:
public boolean hasUserMessageReference() {
return userMessageReference.hasValue();
}
public boolean hasSourcePort() {
return sourcePort.hasValue();
}
public boolean hasSourceAddrSubunit() {
return sourceAddrSubunit.hasValue();
}
public boolean hasDestinationPort() {
return destinationPort.hasValue();
}
public boolean hasDestAddrSubunit() {
return destAddrSubunit.hasValue();
}
public boolean hasSarMsgRefNum() {
return sarMsgRefNum.hasValue();
}
public boolean hasSarTotalSegments() {
return sarTotalSegments.hasValue();
}
public boolean hasSarSegmentSeqnum() {
return sarSegmentSeqnum.hasValue();
}
public boolean hasPayloadType() {
return payloadType.hasValue();
}
public boolean hasMessagePayload() {
return messagePayload.hasValue();
}
public boolean hasPrivacyIndicator() {
return privacyIndicator.hasValue();
}
public boolean hasCallbackNum() {
return callbackNum.hasValue();
}
public boolean hasCallbackNumPresInd() {
return callbackNumPresInd.hasValue();
}
public boolean hasCallbackNumAtag() {
return callbackNumAtag.hasValue();
}
public boolean hasSourceSubaddress() {
return sourceSubaddress.hasValue();
}
public boolean hasDestSubaddress() {
return destSubaddress.hasValue();
}
public boolean hasDisplayTime() {
return displayTime.hasValue();
}
public boolean hasSmsSignal() {
return smsSignal.hasValue();
}
public boolean hasMsValidity() {
return msValidity.hasValue();
}
public boolean hasMsMsgWaitFacilities() {
return msMsgWaitFacilities.hasValue();
}
public boolean hasAlertOnMsgDelivery() {
return alertOnMsgDelivery.hasValue();
}
public boolean hasLanguageIndicator() {
return languageIndicator.hasValue();
}
public void setUserMessageReference(short value) {
userMessageReference.setValue(value);
}
public void setSourcePort(short value) {
sourcePort.setValue(value);
}
public void setSourceAddrSubunit(byte value) {
sourceAddrSubunit.setValue(value);
}
public void setDestinationPort(short value) {
destinationPort.setValue(value);
}
public void setDestAddrSubunit(byte value) {
destAddrSubunit.setValue(value);
}
public void setSarMsgRefNum(short value) {
sarMsgRefNum.setValue(value);
}
public void setSarTotalSegments(short value) throws IntegerOutOfRangeException {
sarTotalSegments.setValue(value);
}
public void setSarSegmentSeqnum(short value) throws IntegerOutOfRangeException {
sarSegmentSeqnum.setValue(value);
}
public void setPayloadType(byte value) {
payloadType.setValue(value);
}
public void setMessagePayload(ByteBuffer value) {
messagePayload.setValue(value);
}
public void setPrivacyIndicator(byte value) {
privacyIndicator.setValue(value);
}
public void setCallbackNum(ByteBuffer value) {
callbackNum.setValue(value);
}
public void setCallbackNumPresInd(byte value) {
callbackNumPresInd.setValue(value);
}
public void setCallbackNumAtag(ByteBuffer value) {
callbackNumAtag.setValue(value);
}
public void setSourceSubaddress(ByteBuffer value) {
sourceSubaddress.setValue(value);
}
public void setDestSubaddress(ByteBuffer value) {
destSubaddress.setValue(value);
}
public void setDisplayTime(byte value) {
displayTime.setValue(value);
}
public void setSmsSignal(short value) {
smsSignal.setValue(value);
}
public void setMsValidity(byte value) {
msValidity.setValue(value);
}
public void setMsMsgWaitFacilities(byte value) {
msMsgWaitFacilities.setValue(value);
}
public void setAlertOnMsgDelivery(boolean value) {
alertOnMsgDelivery.setValue(value);
}
public void setLanguageIndicator(byte value) {
languageIndicator.setValue(value);
}
public short getUserMessageReference() throws ValueNotSetException {
return userMessageReference.getValue();
}
public short getSourcePort() throws ValueNotSetException {
return sourcePort.getValue();
}
public byte getSourceAddrSubunit() throws ValueNotSetException {
return sourceAddrSubunit.getValue();
}
public short getDestinationPort() throws ValueNotSetException {
return destinationPort.getValue();
}
public byte getDestAddrSubunit() throws ValueNotSetException {
return destAddrSubunit.getValue();
}
public short getSarMsgRefNum() throws ValueNotSetException {
return sarMsgRefNum.getValue();
}
public short getSarTotalSegments() throws ValueNotSetException {
return sarTotalSegments.getValue();
}
public short getSarSegmentSeqnum() throws ValueNotSetException {
return sarSegmentSeqnum.getValue();
}
public byte getPayloadType() throws ValueNotSetException {
return payloadType.getValue();
}
public ByteBuffer getMessagePayload() throws ValueNotSetException {
return messagePayload.getValue();
}
public byte getPrivacyIndicator() throws ValueNotSetException {
return privacyIndicator.getValue();
}
public ByteBuffer callbackNum() throws ValueNotSetException {
return callbackNum.getValue();
}
public byte getCallbackNumPresInd() throws ValueNotSetException {
return callbackNumPresInd.getValue();
}
public ByteBuffer getCallbackNumAtag() throws ValueNotSetException {
return callbackNumAtag.getValue();
}
public ByteBuffer getSourceSubaddress() throws ValueNotSetException {
return sourceSubaddress.getValue();
}
public ByteBuffer getDestSubaddress() throws ValueNotSetException {
return destSubaddress.getValue();
}
public byte getDisplayTime() throws ValueNotSetException {
return displayTime.getValue();
}
public short getSmsSignal() throws ValueNotSetException {
return smsSignal.getValue();
}
public byte getMsValidity() throws ValueNotSetException {
return msValidity.getValue();
}
public byte getMsMsgWaitFacilities() throws ValueNotSetException {
return msMsgWaitFacilities.getValue();
}
public boolean getAlertOnMsgDelivery() throws ValueNotSetException {
return alertOnMsgDelivery.getValue();
}
public byte getLanguageIndicator() throws ValueNotSetException {
return languageIndicator.getValue();
}
public String debugString() {
String dbgs = "(submitmulti: ";
dbgs += super.debugString();
dbgs += getSourceAddr().debugString();
dbgs += destAddresses.debugString();
dbgs += " ";
dbgs += shortMessage.debugString();
dbgs += " ";
dbgs += debugStringOptional();
dbgs += ") ";
return dbgs;
}
private class DestAddressList extends ByteDataList {
public DestAddressList() {
super(Data.SM_MAX_CNT_DEST_ADDR, 1);
}
public ByteData createValue() {
return new DestinationAddress();
}
public String debugString() {
return "(dest_addr_list: " + super.debugString() + ")";
}
}
}
/*
* $Log: SubmitMultiSM.java,v $
* Revision 1.1 2003/07/23 00:28:39 sverkera
* Imported
*
*
* Old changelog:
* 01-11-01 ticp@logica.com message length now stored and returned as short to
* accomodate the lengths > 127 (they're stored as
* negative values in byte vars)
* 01-11-01 ticp@logica.com number of destination addresses now stored correctly
* (again octet > 127 problem) as ByteDataList was fixed
* 01-11-01 ticp@logica.com SAR fields now correctly return values > 127
* 20-11-01 ticp@logica.com added support for multibyte string encoding
* for short message
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -