scuttlebutt-discovery
Module Contents
alltypes
Module Contents
class
LocalIdentity
Module Contents
LocalIdentity
(
ip
:
String
,
port
:
String
,
id
:
Identity
)
LocalIdentity
(
ip
:
String
,
port
:
Int
,
id
:
Identity
)
LocalIdentity
(
addr
:
InetSocketAddress
,
id
:
Identity
)
fun
equals
(
other
:
Any
?
)
:
Boolean
static
fun
fromString
(
str
:
String
)
:
LocalIdentity
fun
hashCode
(
)
:
Int
fun
toCanonicalForm
(
)
:
String
fun
toString
(
)
:
String
open
class
ScuttlebuttLocalDiscoveryService
Module Contents
ScuttlebuttLocalDiscoveryService
(
vertx
:
Vertx
,
logger
:
Logger
,
listenPort
:
Int
,
listenNetworkInterface
:
String
,
multicastAddress
:
String
)
open
fun
addIdentityToBroadcastList
(
identity
:
LocalIdentity
)
:
Unit
open
fun
addListener
(
listener
:
Consumer
<
LocalIdentity
>
)
:
Unit
open
fun
start
(
)
:
AsyncCompletion
open
fun
stop
(
)
:
AsyncCompletion
package
org.apache.tuweni.scuttlebutt.discovery
Module Contents
class
LocalIdentity
Module Contents
LocalIdentity
(
ip
:
String
,
port
:
String
,
id
:
Identity
)
LocalIdentity
(
ip
:
String
,
port
:
Int
,
id
:
Identity
)
LocalIdentity
(
addr
:
InetSocketAddress
,
id
:
Identity
)
fun
equals
(
other
:
Any
?
)
:
Boolean
static
fun
fromString
(
str
:
String
)
:
LocalIdentity
fun
hashCode
(
)
:
Int
fun
toCanonicalForm
(
)
:
String
fun
toString
(
)
:
String
open
class
ScuttlebuttLocalDiscoveryService
Module Contents
ScuttlebuttLocalDiscoveryService
(
vertx
:
Vertx
,
logger
:
Logger
,
listenPort
:
Int
,
listenNetworkInterface
:
String
,
multicastAddress
:
String
)
open
fun
addIdentityToBroadcastList
(
identity
:
LocalIdentity
)
:
Unit
open
fun
addListener
(
listener
:
Consumer
<
LocalIdentity
>
)
:
Unit
open
fun
start
(
)
:
AsyncCompletion
open
fun
stop
(
)
:
AsyncCompletion