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

org.rx.net.transport.protocol.UdpMessage Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package org.rx.net.transport.protocol;

import lombok.RequiredArgsConstructor;

import java.io.Serializable;
import java.net.InetSocketAddress;

@RequiredArgsConstructor
public final class UdpMessage implements Serializable {
    private static final long serialVersionUID = -5893732698305228464L;
    public final int id;
    public final AckSync ack;
    public final int alive;

    public final InetSocketAddress remoteAddress;
    public final Object packet;

    public  T packet() {
        return (T) packet;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy