Package jadex.micro.tutorial
Class ChatServiceD3
- java.lang.Object
-
- jadex.micro.tutorial.ChatServiceD2
-
- jadex.micro.tutorial.ChatServiceD3
-
- All Implemented Interfaces:
IChatService
,IExtendedChatService
- Direct Known Subclasses:
ChatServiceD4
public class ChatServiceD3 extends ChatServiceD2 implements IExtendedChatService
This chat service can provide a user profile.
-
-
Field Summary
Fields Modifier and Type Field Description protected UserProfileD3
profile
protected static java.util.List<UserProfileD3>
profiles
-
Fields inherited from class jadex.micro.tutorial.ChatServiceD2
agent, clock, format, gui
-
-
Constructor Summary
Constructors Constructor Description ChatServiceD3()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ChatGuiD2
createGui(IExternalAccess agent)
Create the gui.IFuture<UserProfileD3>
getUserProfile()
Get the user profile.-
Methods inherited from class jadex.micro.tutorial.ChatServiceD2
message, shutdownService, startService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jadex.micro.tutorial.IChatService
message
-
-
-
-
Field Detail
-
profiles
protected static final java.util.List<UserProfileD3> profiles
-
profile
protected UserProfileD3 profile
-
-
Method Detail
-
getUserProfile
public IFuture<UserProfileD3> getUserProfile()
Get the user profile.- Specified by:
getUserProfile
in interfaceIExtendedChatService
- Returns:
- The user profile.
-
createGui
protected ChatGuiD2 createGui(IExternalAccess agent)
Create the gui.- Overrides:
createGui
in classChatServiceD2
-
-