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

io.nadron.client.event.NetworkEvent Maven / Gradle / Ivy

Go to download

This is a client library for Nadron server https://github.com/menacher/java-game-server/tree/netty4/nadron. Java clients can use this program to connect and interact with nadron server.

There is a newer version: 0.5
Show newest version
package io.nadron.client.event;

import io.nadron.client.communication.DeliveryGuaranty;

/**
 * This interface is specifically used for events that will get transmitted to
 * remote machine/vm. It contains the {@link DeliveryGuaranty} associated with
 * the event so that messages can be transmitted either using TCP or UDP
 * transports based on the guaranty defined. Implementations can use RELIABLE as
 * default.
 * 
 * @author Abraham Menacherry
 * 
 */
public interface NetworkEvent extends Event
{
	DeliveryGuaranty getDeliveryGuaranty();

	void setDeliveryGuaranty(DeliveryGuaranty deliveryGuaranty);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy