Package org.drasyl.handler.remote
Class LocalHostPeerInformation
- java.lang.Object
-
- org.drasyl.handler.remote.LocalHostPeerInformation
-
public class LocalHostPeerInformation extends Object
-
-
Constructor Summary
Constructors Constructor Description LocalHostPeerInformation(Set<InetSocketAddress> addresses)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<InetSocketAddress>
addresses()
static LocalHostPeerInformation
of(File file)
static LocalHostPeerInformation
of(Path path)
static LocalHostPeerInformation
of(Set<InetSocketAddress> addresses)
-
-
-
Constructor Detail
-
LocalHostPeerInformation
public LocalHostPeerInformation(Set<InetSocketAddress> addresses)
-
-
Method Detail
-
addresses
public Set<InetSocketAddress> addresses()
-
of
public static LocalHostPeerInformation of(Set<InetSocketAddress> addresses)
-
of
public static LocalHostPeerInformation of(File file) throws IOException
- Throws:
IOException
-
of
public static LocalHostPeerInformation of(Path path) throws IOException
- Throws:
IOException
-
-