org.tron.p2p.discover.socket.UdpEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libp2p Show documentation
Show all versions of libp2p Show documentation
libp2p is a p2p network SDK implemented in java language.
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;
}
}