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

net.sf.jrtps.transport.udp.ReceiverConfig Maven / Gradle / Ivy

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

import java.net.DatagramSocket;

/**
 * Package access. This class represents a struct, that holds UDP DatagramSocket created, 
 * along with participantId which may have been generated during creation. 
 * 
 * @author mcr70
 */
class ReceiverConfig {
    final DatagramSocket ds;
    final int participantId;
    final boolean discovery;

    public ReceiverConfig(int participantId, DatagramSocket ds, boolean discovery) {
        this.participantId = participantId;
        this.ds = ds;
        this.discovery = discovery;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy