|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.dpml.test.app.DefaultListener
public class DefaultListener
A server.
Nested Class Summary | |
---|---|
static interface |
DefaultListener.Context
The construction criteria. |
Constructor Summary | |
---|---|
DefaultListener(Logger logger,
DefaultListener.Context context)
Creation of a new singleton component instance. |
Method Summary | |
---|---|
int |
getCount()
Return the number of time the notify method has been invoked. |
void |
notify(String message)
Handle notification from the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultListener(Logger logger, DefaultListener.Context context)
logger
- an assigned logging channelcontext
- a context implementation fullfilling the context criteriaMethod Detail |
---|
public void notify(String message)
notify
in interface Listener
message
- the noficationpublic int getCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |