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

org.tron.p2p.discover.socket.UdpEvent Maven / Gradle / Ivy

The newest version!
package org.tron.p2p.discover.socket;

import java.net.InetSocketAddress;
import org.tron.p2p.discover.message.Message;

public class UdpEvent {
  private Message message;
  private InetSocketAddress address;

  public UdpEvent(Message message, InetSocketAddress address) {
    this.message = message;
    this.address = address;
  }

  public Message getMessage() {
    return message;
  }

  public void setMessage(Message message) {
    this.message = message;
  }

  public InetSocketAddress getAddress() {
    return address;
  }

  public void setAddress(InetSocketAddress address) {
    this.address = address;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy