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

AppBindRecord

public class AppBindRecord extends Object
An association between a service and one of its client applications.

Fields Summary
final ServiceRecord
service
final IntentBindRecord
intent
final ProcessRecord
client
final HashSet
connections
Constructors Summary
AppBindRecord(ServiceRecord _service, IntentBindRecord _intent, ProcessRecord _client)

        service = _service;
        intent = _intent;
        client = _client;
    
Methods Summary
voiddump(java.io.PrintWriter pw, java.lang.String prefix)

                                    // All ConnectionRecord for this client.

         
        pw.println(prefix + this);
        pw.println(prefix + "service=" + service);
        pw.println(prefix + "client=" + client);
        if (connections.size() > 0) {
            pw.println(prefix + "Per-process Connections:");
            Iterator<ConnectionRecord> it = connections.iterator();
            while (it.hasNext()) {
                ConnectionRecord c = it.next();
                pw.println(prefix + "  " + c);
            }
        }
    
public java.lang.StringtoString()

        return "AppBindRecord{"
            + Integer.toHexString(System.identityHashCode(this))
            + " " + service.shortName + ":" + client.processName + "}";