Java android.net LocalSocket fields, constructors, methods, implement or subclass

Example usage for Java android.net LocalSocket fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.net LocalSocket.

The text is from its open source code.

Constructor

LocalSocket()
Creates a AF_LOCAL/UNIX domain stream socket.

Method

voidclose()
Closes the socket.
voidconnect(LocalSocketAddress endpoint)
Connects this socket to an endpoint.
InputStreamgetInputStream()
Retrieves the input stream for this instance.
OutputStreamgetOutputStream()
Retrieves the output stream for this instance.
CredentialsgetPeerCredentials()
Retrieves the credentials of this socket's peer.