|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.commons.service.BasicService
jadex.micro.examples.chat.ChatService
public class ChatService
| Field Summary | |
|---|---|
protected IMicroExternalAccess |
agent
The agent. |
protected List |
listeners
The listeners. |
| Fields inherited from class jadex.commons.service.BasicService |
|---|
idcnt, properties, shutdowned, sid, started, startfutures |
| Fields inherited from interface jadex.commons.service.IService |
|---|
EMPTY_SERVICES |
| Constructor Summary | |
|---|---|
ChatService(IExternalAccess agent)
Create a new helpline service. |
|
| Method Summary | |
|---|---|
void |
addChangeListener(IChangeListener listener)
Add a change listener. |
void |
hear(String name,
String text)
Hear something. |
void |
removeChangeListener(IChangeListener listener)
Remove a change listener. |
void |
tell(String name,
String text)
Tell something. |
String |
toString()
Get the string representation. |
| Methods inherited from class jadex.commons.service.BasicService |
|---|
createServiceIdentifier, generateServiceName, getPropertyMap, getServiceIdentifier, isValid, setPropertyMap, shutdownService, signalStarted, startService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jadex.commons.service.IService |
|---|
getPropertyMap, getServiceIdentifier, signalStarted |
| Field Detail |
|---|
protected IMicroExternalAccess agent
protected List listeners
| Constructor Detail |
|---|
public ChatService(IExternalAccess agent)
| Method Detail |
|---|
public void tell(String name,
String text)
name - The name.text - The text.
public void hear(String name,
String text)
hear in interface IChatServicename - The name.text - The text.public void addChangeListener(IChangeListener listener)
public void removeChangeListener(IChangeListener listener)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||