Added in API level 1

LocalSocketAddress


public class LocalSocketAddress
extends Object

java.lang.Object
   ↳ android.net.LocalSocketAddress


A UNIX-domain (AF_LOCAL) socket address. For use with android.net.LocalSocket and android.net.LocalServerSocket. On the Android system, these names refer to names in the Linux abstract (non-filesystem) UNIX domain namespace.

Summary

Public constructors

LocalSocketAddress(String name)

Creates an instance with a given name in the Namespace.ABSTRACT namespace

LocalSocketAddress(String name, LocalSocketAddress.Namespace namespace)

Creates an instance with a given name.

Public methods

String getName()

Retrieves the string name of this address

LocalSocketAddress.Namespace getNamespace()

Returns the namespace used by this address.

Inherited methods