Package org.drasyl.handler.discovery
Class AddPathAndSuperPeerEvent
java.lang.Object
org.drasyl.handler.discovery.AddPathAndSuperPeerEvent
- All Implemented Interfaces:
- PathEvent
Signals that a direct routing path has been discovered to 
PathEvent.getAddress()
 and that we are registered as a children as this peer.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanabstract InetSocketAddressabstract longgetRtt()inthashCode()static AddPathAndSuperPeerEventof(DrasylAddress address, InetSocketAddress inetAddress, Object path, long rtt) Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drasyl.handler.discovery.PathEventgetAddress, getPath
- 
Constructor Details- 
AddPathAndSuperPeerEventpublic AddPathAndSuperPeerEvent()
 
- 
- 
Method Details- 
getInetAddress
- 
getRttpublic abstract long getRtt()
- 
hashCodepublic int hashCode()
- 
equals
- 
ofpublic static AddPathAndSuperPeerEvent of(DrasylAddress address, InetSocketAddress inetAddress, Object path, long rtt) 
 
-