public class

RetrieveTransaction

extends Transaction
implements Runnable
java.lang.Object
   ↳ com.android.mms.transaction.Observable
     ↳ com.android.mms.transaction.Transaction
       ↳ com.android.mms.transaction.RetrieveTransaction

Class Overview

The RetrieveTransaction is responsible for retrieving multimedia messages (M-Retrieve.conf) from the MMSC server. It:

  • Sends a GET request to the MMSC server.
  • Retrieves the binary M-Retrieve.conf data and parses it.
  • Persists the retrieve multimedia message.
  • Determines whether an acknowledgement is required.
  • Creates appropriate M-Acknowledge.ind and sends it to MMSC server.
  • Notifies the TransactionService about succesful completion.

Summary

[Expand]
Inherited Constants
From class com.android.mms.transaction.Transaction
[Expand]
Inherited Fields
From class com.android.mms.transaction.Transaction
Public Constructors
RetrieveTransaction(Context context, int serviceId, TransactionSettings connectionSettings, String uri)
Public Methods
int getType()
Get the type of the transaction.
void process()
An instance of Transaction encapsulates the actions required during a MMS Client transaction.
void run()
[Expand]
Inherited Methods
From class com.android.mms.transaction.Transaction
From class com.android.mms.transaction.Observable
From class java.lang.Object
From interface java.lang.Runnable

Public Constructors

public RetrieveTransaction (Context context, int serviceId, TransactionSettings connectionSettings, String uri)

Throws
MmsException

Public Methods

public int getType ()

Get the type of the transaction.

Returns
  • Transaction type in integer.

public void process ()

An instance of Transaction encapsulates the actions required during a MMS Client transaction.

public void run ()