All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.freedesktop.dbus.spi.message.IMessageWriter Maven / Gradle / Ivy

Go to download

Improved version of the DBus-Java library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/). This is the OSGi compliant bundle of all required libraries in one bundle.

There is a newer version: 5.1.1
Show newest version
package org.freedesktop.dbus.spi.message;

import org.freedesktop.dbus.messages.Message;

import java.io.Closeable;
import java.io.IOException;

/**
 * Interface that lets you write a message to the currently used transport.
 */
public interface IMessageWriter extends Closeable {

    /**
     * Write a message out to the bus.
     *
     * @param _msg The message to write
     * @throws IOException If an IO error occurs.
     */
    void writeMessage(Message _msg) throws IOException;

    boolean isClosed();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy