?? submitsm.java
字號(hào):
}
public boolean hasSarMsgRefNum() {
return sarMsgRefNum.hasValue();
}
public boolean hasSarTotalSegments() {
return sarTotalSegments.hasValue();
}
public boolean hasSarSegmentSeqnum() {
return sarSegmentSeqnum.hasValue();
}
public boolean hasMoreMsgsToSend() {
return moreMsgsToSend.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 hasUserResponseCode() {
return userResponseCode.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 hasNumberOfMessages() {
return numberOfMessages.hasValue();
}
public boolean hasAlertOnMsgDelivery() {
return alertOnMsgDelivery.hasValue();
}
public boolean hasLanguageIndicator() {
return languageIndicator.hasValue();
}
public boolean hasItsReplyType() {
return itsReplyType.hasValue();
}
public boolean hasItsSessionInfo() {
return itsSessionInfo.hasValue();
}
public boolean hasUssdServiceOp() {
return ussdServiceOp.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 setMoreMsgsToSend(byte value) {
moreMsgsToSend.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 setUserResponseCode(byte value) {
userResponseCode.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 setNumberOfMessages(byte value) {
numberOfMessages.setValue(value);
}
public void setAlertOnMsgDelivery(boolean value) {
alertOnMsgDelivery.setValue(value);
}
public void setLanguageIndicator(byte value) {
languageIndicator.setValue(value);
}
public void setItsReplyType(byte value) {
itsReplyType.setValue(value);
}
public void setItsSessionInfo(short value) {
itsSessionInfo.setValue(value);
}
public void setUssdServiceOp(byte value) {
ussdServiceOp.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 getMoreMsgsToSend() throws ValueNotSetException {
return moreMsgsToSend.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 getUserResponseCode() throws ValueNotSetException {
return userResponseCode.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 byte getNumberOfMessages() throws ValueNotSetException {
return numberOfMessages.getValue();
}
public boolean getAlertOnMsgDelivery() throws ValueNotSetException {
return alertOnMsgDelivery.getValue();
}
public byte getLanguageIndicator() throws ValueNotSetException {
return languageIndicator.getValue();
}
public byte getItsReplyType() throws ValueNotSetException {
return itsReplyType.getValue();
}
public short getItsSessionInfo() throws ValueNotSetException {
return itsSessionInfo.getValue();
}
public byte getUssdServiceOp() throws ValueNotSetException {
return ussdServiceOp.getValue();
}
public String debugString() {
String dbgs = "(submit: ";
dbgs += super.debugString();
dbgs += getSourceAddr().debugString();
dbgs += " ";
dbgs += getDestAddr().debugString();
dbgs += " ";
dbgs += shortMessage.debugString();
dbgs += " ";
dbgs += debugStringOptional();
dbgs += ") ";
return dbgs;
}
}
/*
* $Log: SubmitSM.java,v $
* Revision 1.1 2003/07/23 00:28:39 sverkera
* Imported
*
*
* Old changelog:
* 31-10-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)
* 31-10-01 ticp@logica.com SAR fields now correctly return values > 127
* 19-11-01 ticp@logica.com added support for multibyte string encoding
* for short message
*/
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -