?? submitsm.java
字號:
public void setSourceAddr(byte ton, byte npi, String address) throws WrongLengthOfStringException { setSourceAddr(new Address(ton, npi, address)); } public void setDestAddr(Address value) { destAddr = value; } public void setDestAddr(String address) throws WrongLengthOfStringException { setDestAddr(new Address(address)); } public void setDestAddr(byte ton, byte npi, String address) throws WrongLengthOfStringException { setDestAddr(new Address(ton, npi, address)); } public void setEsmClass(byte value) { esmClass = value; } public void setProtocolId(byte value) { protocolId = value; } public void setPriorityFlag(byte value) { priorityFlag = value; } public void setRegisteredDelivery(byte value) { registeredDelivery = value; } public void setReplaceIfPresentFlag(byte value) { replaceIfPresentFlag = value; } public void setDataCoding(byte value) { dataCoding = value; } public void setSmDefaultMsgId(byte value) { smDefaultMsgId = value; } // setSmLength() is private as it's set to length of the message private void setSmLength(short value) { smLength = value; } public String getServiceType() { return serviceType; } public String getScheduleDeliveryTime() { return scheduleDeliveryTime; } public String getValidityPeriod() { return validityPeriod; } public String getShortMessage() { return shortMessage.getMessage(); } public String getShortMessage(String encoding) throws UnsupportedEncodingException { return shortMessage.getMessage(encoding); } public Address getSourceAddr() { return sourceAddr; } public Address getDestAddr() { return destAddr; } public byte getEsmClass() { return esmClass; } public byte getProtocolId() { return protocolId; } public byte getPriorityFlag() { return priorityFlag; } public byte getRegisteredDelivery() { return registeredDelivery; } public byte getReplaceIfPresentFlag() { return replaceIfPresentFlag; } public byte getDataCoding() { return dataCoding; } public byte getSmDefaultMsgId() { return smDefaultMsgId; } public short getSmLength() { return smLength; } 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 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; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -