Top Constructors Methods
org.freedesktop.dbus.transport.junixsocket

public Class JUnixSocketMessageWriter

extends AbstractOutputStreamMessageWriter
Class Inheritance
Imports
org.freedesktop.dbus.exceptions.MarshallingException, org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter, .ISocketProvider, org.newsclub.net.unix.AFUNIXSocketChannel, java.io.FileDescriptor, .IOException, java.nio.channels.SocketChannel, java.util.List

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
writeFileDescriptors(SocketChannel
channel to write to
_outputChannel
,
List<FileDescriptor>
file descriptors attached to message
_filedescriptors
)

Implements abstract org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter.writeFileDescriptors.

Called to write any file descriptors to the given channel.

Inherited from org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter:
closegetLoggergetSocketProviderImplisClosedtoStringwriteMessage

Constructor Detail

JUnixSocketMessageWriterback to summary
public JUnixSocketMessageWriter(AFUNIXSocketChannel _socket, ISocketProvider _socketProviderImpl)

Method Detail

writeFileDescriptorsback to summary
protected void writeFileDescriptors(SocketChannel _outputChannel, List<FileDescriptor> _filedescriptors) throws IOException

Implements abstract org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter.writeFileDescriptors.

Doc from org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter.writeFileDescriptors.

Called to write any file descriptors to the given channel.
Should do nothing if there is no file descriptor to write, or method is not supported.

Parameters
_outputChannel:SocketChannel

channel to write to

_filedescriptors:List<FileDescriptor>

file descriptors attached to message

Annotations
@Override
Exceptions
IOException:
when writing the descriptors fail