Android.Net.LocalSocket Members

The members of Android.Net.LocalSocket are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Creates a AF_LOCAL/UNIX domain stream socket.
Creates a AF_LOCAL/UNIX domain stream socket with given socket type

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
SocketDgramSocketType (1). Datagram socket type
const
SocketSeqpacketSocketType (3). Sequential packet socket type
const
SocketStreamSocketType (2). Stream socket type

Public Properties

[read-only]
FileDescriptorJava.IO.FileDescriptor. Returns file descriptor or null if not yet open/already closed
[read-only]
InputStreamSystem.IO.Stream. Retrieves the input stream for this instance.
[read-only]
IsBoundbool.
[read-only]
IsClosedbool.
[read-only]
IsConnectedbool.
[read-only]
IsInputShutdownbool.
[read-only]
IsOutputShutdownbool.
[read-only]
LocalSocketAddressLocalSocketAddress. Retrieves the name that this socket is bound to, if any.
[read-only]
OutputStreamSystem.IO.Stream. Retrieves the output stream for this instance.
[read-only]
PeerCredentialsCredentials. Retrieves the credentials of this socket's peer.
ReceiveBufferSizeint.
[read-only]
RemoteSocketAddressLocalSocketAddress.
SendBufferSizeint.
SoTimeoutint.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Bind(LocalSocketAddress)
Binds this socket to an endpoint name.
Close()
Closes the socket.
Connect(LocalSocketAddress)
Connects this socket to an endpoint.
Connect(LocalSocketAddress, int)
ConnectAsync(LocalSocketAddress) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
ConnectAsync(LocalSocketAddress, int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
GetAncillaryFileDescriptors() : Java.IO.FileDescriptor[]
Retrieves a set of file descriptors that a peer has sent through an ancillary message.
SetFileDescriptorsForSend(Java.IO.FileDescriptor[])
Enqueues a set of file descriptors to send to the peer.
ShutdownInput()
Shuts down the input side of the socket.
ShutdownOutput()
Shuts down the output side of the socket.