Class AgentSpacesProperties.Multicast
java.lang.Object
ai.badmonkey.agentspaces.spring.AgentSpacesProperties.Multicast
- Enclosing class:
AgentSpacesProperties
The LAN multicast bootstrap beacon (
agentspaces.multicast.*,
spec §10.1 bootstrap: multicast; off by default). When enabled
the node announces its listening endpoints on the multicast
group every interval-millis and dials peers it hears,
so a LAN fleet needs no seeds; every advertisement learned this way is
still verified on its own terms. The beacon carries seed addresses only.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()longbooleanbooleanisSeal()Seal each beacon datagram under its group'scontent-key(SPEC §10.1 v0.1.19): members holding the key find each other and a bystander reads nothing; groups with no content key stay plain.voidsetEnabled(boolean enabled) voidvoidsetIntervalMillis(long intervalMillis) voidsetSeal(boolean seal)
-
Constructor Details
-
Multicast
public Multicast()
-
-
Method Details
-
isSeal
public boolean isSeal()Seal each beacon datagram under its group'scontent-key(SPEC §10.1 v0.1.19): members holding the key find each other and a bystander reads nothing; groups with no content key stay plain. -
setSeal
public void setSeal(boolean seal) -
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getGroup
-
setGroup
-
getIntervalMillis
public long getIntervalMillis() -
setIntervalMillis
public void setIntervalMillis(long intervalMillis)
-