Package jadex.platform.service.awareness
Class BroadcastAwarenessAgent
- java.lang.Object
-
- jadex.platform.service.awareness.LocalNetworkAwarenessBaseAgent
-
- jadex.platform.service.awareness.BroadcastAwarenessAgent
-
- All Implemented Interfaces:
IAwarenessService
public class BroadcastAwarenessAgent extends LocalNetworkAwarenessBaseAgent
Implements passive awareness via broadcast.
-
-
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 BroadcastAwarenessAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
At startup create a multicast socket for listening.-
Methods inherited from class jadex.platform.service.awareness.LocalNetworkAwarenessBaseAgent
getPlatformAddresses, searchPlatforms, sendInfo, shutdown
-
-
-
-
Method Detail
-
init
public void init() throws java.lang.Exception
At startup create a multicast socket for listening.- Overrides:
init
in classLocalNetworkAwarenessBaseAgent
- Throws:
java.lang.Exception
-
-