FileDocCategorySizeDatePackage
SendConf.javaAPI DocAndroid 1.5 API3400Wed May 06 22:41:56 BST 2009com.google.android.mms.pdu

SendConf

public class SendConf extends GenericPdu

Fields Summary
Constructors Summary
public SendConf()
Empty constructor. Since the Pdu corresponding to this class is constructed by the Proxy-Relay server, this class is only instantiated by the Pdu Parser.

throws
InvalidHeaderValueException if error occurs.

        super();
        setMessageType(PduHeaders.MESSAGE_TYPE_SEND_CONF);
    
SendConf(PduHeaders headers)
Constructor with given headers.

param
headers Headers for this PDU.

        super(headers);
    
Methods Summary
public byte[]getMessageId()
Get Message-ID value.

return
the value

        return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID);
    
public intgetResponseStatus()
Get X-Mms-Response-Status.

return
the value

        return mPduHeaders.getOctet(PduHeaders.RESPONSE_STATUS);
    
public byte[]getTransactionId()
Get X-Mms-Transaction-Id field value.

return
the X-Mms-Report-Allowed value

        return mPduHeaders.getTextString(PduHeaders.TRANSACTION_ID);
    
public voidsetMessageId(byte[] value)
Set Message-ID value.

param
value the value
throws
NullPointerException if the value is null.

        mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID);
    
public voidsetResponseStatus(int value)
Set X-Mms-Response-Status.

param
value the values
throws
InvalidHeaderValueException if the value is invalid.

        mPduHeaders.setOctet(value, PduHeaders.RESPONSE_STATUS);
    
public voidsetTransactionId(byte[] value)
Set X-Mms-Transaction-Id field value.

param
value the value
throws
NullPointerException if the value is null.

            mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID);