public class

SendTransaction

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

Class Overview

The SendTransaction is responsible for sending multimedia messages (M-Send.req) to the MMSC server. It:

  • Loads the multimedia message from storage (Outbox).
  • Packs M-Send.req and sends it.
  • Retrieves confirmation data from the server (M-Send.conf).
  • Parses confirmation message and handles it.
  • Moves sent multimedia message from Outbox to Sent.
  • Notifies the TransactionService about successful completion.

Summary

[Expand]
Inherited Constants
From class com.android.mms.transaction.Transaction
[Expand]
Inherited Fields
From class com.android.mms.transaction.Transaction
Public Constructors
SendTransaction(Context context, int transId, 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 SendTransaction (Context context, int transId, TransactionSettings connectionSettings, String uri)

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 ()