Package jadex.micro.tutorial
Class RegistryServiceE3
- java.lang.Object
-
- jadex.micro.tutorial.RegistryServiceE3
-
- All Implemented Interfaces:
IRegistryServiceE3
public class RegistryServiceE3 extends java.lang.Object implements IRegistryServiceE3
Service for registering a nickname with component identifier.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,IComponentIdentifier>
entries
The entries map.
-
Constructor Summary
Constructors Constructor Description RegistryServiceE3()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.util.Map<java.lang.String,IComponentIdentifier>>
getChatters()
Get the registered chatters.void
register(IComponentIdentifier cid, java.lang.String nickname)
Register a chatter.
-
-
-
Field Detail
-
entries
protected java.util.Map<java.lang.String,IComponentIdentifier> entries
The entries map.
-
-
Method Detail
-
register
public void register(IComponentIdentifier cid, java.lang.String nickname)
Register a chatter.- Specified by:
register
in interfaceIRegistryServiceE3
-
getChatters
public IFuture<java.util.Map<java.lang.String,IComponentIdentifier>> getChatters()
Get the registered chatters.- Specified by:
getChatters
in interfaceIRegistryServiceE3
-
-