The discovery listener joins a multicast group, waits for messages broadcast by a { @link org.nlogo.hubnet.server.DiscoveryAnnouncer } in the server. When a message is received, it notifies an { @link AnnouncementListener }.
Attributes
- See also
-
org.nlogo.hubnet.protocol.DiscoveryMessage
- Companion
- object
- Source
- DiscoveryListener.scala
- Graph
-
- Supertypes
-
class Threadtrait Runnableclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Removes the specified announcement listener so that it no longer receives messages from this discovery listener.
Removes the specified announcement listener so that it no longer receives messages from this discovery listener.
Value parameters
- listener
-
the announcement listener
Attributes
- Source
- DiscoveryListener.scala
Joins a multicast group and listens for packets until stopListening()
is called.
Joins a multicast group and listens for packets until stopListening()
is called.
Attributes
- Definition Classes
-
Thread -> Runnable
- Source
- DiscoveryListener.scala
Sets the specified announcement listener to receive messages from this discovery listener.
Sets the specified announcement listener to receive messages from this discovery listener.
Value parameters
- listener
-
the announcement listener
Attributes
- Source
- DiscoveryListener.scala
Stops the discovery listener from listening for messages on the multicast group.
Stops the discovery listener from listening for messages on the multicast group.
Attributes
- Source
- DiscoveryListener.scala
Inherited methods
Attributes
- Inherited from:
- Thread
Attributes
- Inherited from:
- Thread
Attributes
- Inherited from:
- Thread
Attributes
- Inherited from:
- Thread
Attributes
- Inherited from:
- Thread
Attributes
- Inherited from:
- Thread
Attributes
- Inherited from:
- Thread
Attributes
- Inherited from:
- Thread
Attributes
- Inherited from:
- Thread
Attributes
- Inherited from:
- Thread
Attributes
- Inherited from:
- Thread
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Inherited from:
- Thread
Deprecated and Inherited methods
Attributes
- Deprecated
-
[Since version ]
see corresponding Javadoc for more information. - Inherited from:
- Thread
Attributes
- Deprecated
-
[Since version ]
see corresponding Javadoc for more information. - Inherited from:
- Thread
Attributes
- Deprecated
-
[Since version ]
see corresponding Javadoc for more information. - Inherited from:
- Thread
Attributes
- Deprecated
-
[Since version ]
see corresponding Javadoc for more information. - Inherited from:
- Thread
Concrete fields
Attributes
- Source
- DiscoveryListener.scala