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

net.sf.jrtps.transport.Transmitter Maven / Gradle / Ivy

There is a newer version: 1.5.1
Show newest version
package net.sf.jrtps.transport;

import java.io.IOException;

import net.sf.jrtps.message.Message;

/**
 * Transmitter is used to deliver messages to destination.  
 * 
 * @author mcr70
 * @see Receiver
 * @see TransportProvider
 */
public interface Transmitter {
    /**
     * Sends a Message to destination.
     * @param msg Message to send
     * @return true, if an overflow occured.
     */
    public boolean sendMessage(Message msg);
    
    /**
     * Close this Writer
     * @throws IOException
     */
    public void close() throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy