FileDocCategorySizeDatePackage
ConnectionRecord.javaAPI DocAndroid 1.5 API1891Wed May 06 22:42:00 BST 2009com.android.server.am

ConnectionRecord

public class ConnectionRecord extends Object
Description of a single binding to a service.

Fields Summary
final AppBindRecord
binding
final HistoryRecord
activity
final android.app.IServiceConnection
conn
final int
flags
Constructors Summary
ConnectionRecord(AppBindRecord _binding, HistoryRecord _activity, android.app.IServiceConnection _conn, int _flags)

        binding = _binding;
        activity = _activity;
        conn = _conn;
        flags = _flags;
    
Methods Summary
voiddump(java.io.PrintWriter pw, java.lang.String prefix)

        pw.println(prefix + this);
        pw.println(prefix + "binding=" + binding);
        pw.println(prefix + "activity=" + activity);
        pw.println(prefix + "conn=" + conn.asBinder()
                + " flags=0x" + Integer.toHexString(flags));
    
public java.lang.StringtoString()

        return "ConnectionRecord{"
            + Integer.toHexString(System.identityHashCode(this))
            + " " + binding.service.shortName
            + ":@" + Integer.toHexString(System.identityHashCode(conn.asBinder())) + "}";