Package jadex.platform.service.awareness
Class MulticastAwarenessAgent
- java.lang.Object
-
- jadex.platform.service.awareness.LocalNetworkAwarenessBaseAgent
-
- jadex.platform.service.awareness.MulticastAwarenessAgent
-
- All Implemented Interfaces:
IAwarenessService
public class MulticastAwarenessAgent extends LocalNetworkAwarenessBaseAgent
Implements passive awareness via multicast.
-
-
Field Summary
-
Fields inherited from class jadex.platform.service.awareness.LocalNetworkAwarenessBaseAgent
address, agent, filter, newplatforms, platforms, port, recvsocket, search, sendsocket, tas, waitfactor
-
-
Constructor Summary
Constructors Constructor Description MulticastAwarenessAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
shutdown()
Stop the service.void
start()
At startup create a multicast socket for listening.-
Methods inherited from class jadex.platform.service.awareness.LocalNetworkAwarenessBaseAgent
getPlatformAddresses, init, searchPlatforms, sendInfo
-
-
-
-
Method Detail
-
start
public void start() throws java.lang.Exception
At startup create a multicast socket for listening.- Throws:
java.lang.Exception
-
shutdown
public void shutdown() throws java.lang.Exception
Stop the service.- Overrides:
shutdown
in classLocalNetworkAwarenessBaseAgent
- Throws:
java.lang.Exception
-
-