Android
android.net
public class

android.net.LocalSocketAddress

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.

Nested Classes
LocalSocketAddress.Namespace The namespace that this address exists in. 

Summary

Public Constructors

            LocalSocketAddress(String name, LocalSocketAddress.Namespace namespace)
Creates an instance with a given name.
            LocalSocketAddress(String name)
Creates an instance with a given name in the ABSTRACT namespace

Public Methods

          String  getName()
Retrieves the string name of this address
          LocalSocketAddress.Namespace  getNamespace()
Returns the namespace used by this address.
Methods inherited from class java.lang.Object

Details

Public Constructors

public LocalSocketAddress(String name, LocalSocketAddress.Namespace namespace)

Creates an instance with a given name.

Parameters

name non-null name
namespace namespace the name should be created in.

public LocalSocketAddress(String name)

Creates an instance with a given name in the ABSTRACT namespace

Parameters

name non-null name

Public Methods

public String getName()

Retrieves the string name of this address

Returns

  • string name

public LocalSocketAddress.Namespace getNamespace()

Returns the namespace used by this address.

Returns

  • non-null a namespace
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48