public class ChatServiceD1 extends java.lang.Object implements IChatService
Modifier and Type | Field and Description |
---|---|
protected jadex.bridge.IInternalAccess |
agent
The agent.
|
protected jadex.bridge.service.types.clock.IClockService |
clock
The clock service.
|
protected java.text.DateFormat |
format
The time format.
|
Constructor and Description |
---|
ChatServiceD1() |
Modifier and Type | Method and Description |
---|---|
void |
message(java.lang.String sender,
java.lang.String text)
Receives a chat message.
|
jadex.commons.future.IFuture<java.lang.Void> |
startService()
Init the service.
|
protected jadex.bridge.IInternalAccess agent
protected jadex.bridge.service.types.clock.IClockService clock
protected java.text.DateFormat format
public jadex.commons.future.IFuture<java.lang.Void> startService()
public void message(java.lang.String sender, java.lang.String text)
message
in interface IChatService
sender
- The sender's name.text
- The message text.