LocalSocketAddress
open class LocalSocketAddress
| kotlin.Any | |
| ↳ | 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 | |
|---|---|
| The namespace that this address exists in. | |
| Public constructors | |
|---|---|
LocalSocketAddress(name: String!)Creates an instance with a given name in the | |
LocalSocketAddress(name: String!, namespace: LocalSocketAddress.Namespace!)Creates an instance with a given name. | |
| Public methods | |
|---|---|
| open String! | getName()Retrieves the string name of this address |
| open LocalSocketAddress.Namespace! | Returns the namespace used by this address. |
Public constructors
LocalSocketAddress
LocalSocketAddress(name: String!)
Creates an instance with a given name in the Namespace.ABSTRACT namespace
| Parameters | |
|---|---|
name | String!: non-null name |
LocalSocketAddress
LocalSocketAddress(
name: String!,
namespace: LocalSocketAddress.Namespace!)
Creates an instance with a given name.
| Parameters | |
|---|---|
name | String!: non-null name |
namespace | LocalSocketAddress.Namespace!: namespace the name should be created in. |
Public methods
getName
open fun getName(): String!
Retrieves the string name of this address
| Return | |
|---|---|
String! | string name |
getNamespace
open fun getNamespace(): LocalSocketAddress.Namespace!
Returns the namespace used by this address.
| Return | |
|---|---|
LocalSocketAddress.Namespace! | non-null a namespace |