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; }
public String debugString() { String dbgs = "(query: "; dbgs += super.debugString(); dbgs += getMessageId(); dbgs += " "; dbgs += getSourceAddr().debugString(); dbgs += " "; dbgs += debugStringOptional(); dbgs += ") "; return dbgs; } }
public String debugString() { String dbgs = "(data: "; dbgs += super.debugString(); dbgs += getSourceAddr().debugString(); dbgs += " "; dbgs += getDestAddr().debugString(); dbgs += " "; dbgs += debugStringOptional(); dbgs += ") "; return dbgs; } }
public String debugString() { String dbgs = "(submitmulti_resp: "; dbgs += super.debugString(); dbgs += getMessageId(); dbgs += " "; dbgs += unsuccessSMEs.debugString(); dbgs += " "; dbgs += debugStringOptional(); dbgs += ") "; return dbgs; }
public String debugString() { String dbgs = "(data_resp: "; dbgs += super.debugString(); dbgs += getMessageId(); dbgs += " "; dbgs += debugStringOptional(); dbgs += ") "; return dbgs; } }
public String debugString() { String dbgs = "(deliver_resp: "; dbgs += super.debugString(); dbgs += getMessageId(); dbgs += " "; dbgs += debugStringOptional(); dbgs += ") "; return dbgs; } }
public String debugString() { String dbgs = "(outbind: "; dbgs += super.debugString(); dbgs += getSystemId(); dbgs += " "; dbgs += getPassword(); dbgs += ")"; return dbgs; }
public void setShortMessage(String value, String encoding) throws WrongLengthOfStringException, UnsupportedEncodingException { shortMessage.setMessage(value, encoding); setSmLength((short) shortMessage.getLength()); }
public void setShortMessage(String value, String encoding) throws WrongLengthOfStringException, UnsupportedEncodingException { shortMessage.setMessage(value, encoding); setSmLength((short) shortMessage.getLength()); }
public void setShortMessageData(ByteBuffer value) throws PDUException, NotEnoughDataInByteBufferException, TerminatingZeroNotFoundException { shortMessage.setData(value); setSmLength((short) shortMessage.getLength()); }
public void setShortMessage(String value, String encoding) throws WrongLengthOfStringException, UnsupportedEncodingException { shortMessage.setMessage(value, encoding); setSmLength((short) shortMessage.getLength()); }
public void setShortMessage(String value, String encoding) throws WrongLengthOfStringException, UnsupportedEncodingException { shortMessage.setMessage(value, encoding); setSmLength((short) shortMessage.getLength()); }
/** Returns the command status of the PDU. */ public int getCommandStatus() { checkHeader(); return header.getCommandStatus(); }
public void setScheduleDeliveryTime(String value) throws WrongDateFormatException { try { checkDate(value); } catch (WrongDateFormatException e) { e.setErrorCode(Data.ESME_RINVSCHED); throw e; } scheduleDeliveryTime = value; }
public boolean equals(Object object) { if (object == null) { return false; } else { PDU pdu = (PDU) object; return pdu.getCommandId() == getCommandId(); } }
/** * Sets the command status, i.e. error status of the PDU. */ public void setCommandStatus(int cmdStatus) { checkHeader(); header.setCommandStatus(cmdStatus); }
/** * Returns the command id of the corresponing response. */ public int getResponseCommandId() { Response response = createResponse(); return response.getCommandId(); }
public void setValidityPeriod(String value) throws WrongDateFormatException { try { checkDate(value); } catch (WrongDateFormatException e) { e.setErrorCode(Data.ESME_RINVEXPIRY); throw e; } validityPeriod = value; }
/** * Returns the command id of the PDU object. * The command id can be either read from the binary data received from SMSC * or can be set by derived class as the command id of the PDU which is * represented by the class. */ public int getCommandId() { checkHeader(); return header.getCommandId(); }
public String debugString() { String dbgs = "(dl: "; dbgs += super.debugString(); dbgs += getDlName(); dbgs += ") "; return dbgs; } }