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
Nested classes | |
|---|---|
enum |
LocalSocketAddress.Namespace
The namespace that this address exists in. |
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 |
|
Public methods | |
|---|---|
String
|
getName()
Retrieves the string name of this address |
LocalSocketAddress.Namespace
|
getNamespace()
Returns the namespace used by this address. |
Inherited methods | |
|---|---|
From
class
java.lang.Object
| |
Public constructors
LocalSocketAddress
LocalSocketAddress (String name, LocalSocketAddress.Namespace namespace)
Creates an instance with a given name.
| Parameters | |
|---|---|
name |
String:
non-null name |
namespace |
LocalSocketAddress.Namespace:
namespace the name should be created in.
|
LocalSocketAddress
LocalSocketAddress (String name)
Creates an instance with a given name in the ABSTRACT
namespace
| Parameters | |
|---|---|
name |
String:
non-null name
|
Public methods
getName
String getName ()
Retrieves the string name of this address
| Returns | |
|---|---|
String |
string name |
getNamespace
LocalSocketAddress.Namespace getNamespace ()
Returns the namespace used by this address.
| Returns | |
|---|---|
LocalSocketAddress.Namespace |
non-null a namespace |
Interfaces
Classes
- CaptivePortal
- ConnectivityManager
- ConnectivityManager.NetworkCallback
- Credentials
- DhcpInfo
- IpPrefix
- LinkAddress
- LinkProperties
- LocalServerSocket
- LocalSocket
- LocalSocketAddress
- MailTo
- Network
- NetworkCapabilities
- NetworkInfo
- NetworkRequest
- NetworkRequest.Builder
- Proxy
- ProxyInfo
- PskKeyManager
- RouteInfo
- SSLCertificateSocketFactory
- SSLSessionCache
- TrafficStats
- Uri
- Uri.Builder
- UrlQuerySanitizer
- UrlQuerySanitizer.IllegalCharacterValueSanitizer
- UrlQuerySanitizer.ParameterValuePair
- VpnService
- VpnService.Builder
Enums
Exceptions


