Top Constructors Methods
org.freedesktop.dbus.spi.message

public Class InputStreamMessageReader

extends AbstractInputStreamMessageReader
Class Inheritance
Imports
org.freedesktop.dbus.FileDescriptor, java.nio.channels.SocketChannel, java.util.List

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected List<FileDescriptor>
readFileDescriptors(SocketChannel
input channel to read
_inputChannel
)

Implements abstract org.freedesktop.dbus.spi.message.AbstractInputStreamMessageReader.readFileDescriptors.

Methods which will be called when file descriptor passing is enabled.

Inherited from org.freedesktop.dbus.spi.message.AbstractInputStreamMessageReader:
closegetLoggergetSocketProviderImplisClosedreadMessagetoString

Constructor Detail

InputStreamMessageReaderback to summary
public InputStreamMessageReader(final SocketChannel _in)

Method Detail

readFileDescriptorsback to summary
protected List<FileDescriptor> readFileDescriptors(SocketChannel _inputChannel)

Implements abstract org.freedesktop.dbus.spi.message.AbstractInputStreamMessageReader.readFileDescriptors.

Doc from org.freedesktop.dbus.spi.message.AbstractInputStreamMessageReader.readFileDescriptors.

Methods which will be called when file descriptor passing is enabled. The implementation should fetch all file descriptors which have been transmitted and return them as List. If no file descriptor is available or feature is not supported, return null.

Parameters
_inputChannel:SocketChannel

input channel to read

Returns:List<FileDescriptor>

List or null

Annotations
@Override