|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.service.event.PlainTextOutputEvent
public final class PlainTextOutputEvent
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.torweg.pulse.service.event.Event |
|---|
Event.Disposition |
| Constructor Summary | |
|---|---|
PlainTextOutputEvent(java.lang.String msg,
java.lang.String enc)
builds a new PlainTextOutputEvent which sends the given
message. |
|
| Method Summary | |
|---|---|
CacheMode |
getCacheMode()
returns the CacheMode. |
boolean |
isOutputEvent()
returns true. |
boolean |
isSingularEvent()
Indicates that the Event will only be added once to the
EventManager and block all other Events. |
boolean |
isStopEvent()
returns true. |
void |
run(ServiceRequest req)
performs the text output. |
void |
setCacheMode(CacheMode c)
sets the CacheMode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlainTextOutputEvent(java.lang.String msg,
java.lang.String enc)
PlainTextOutputEvent which sends the given
message.
msg - the message to sendenc - the encoding to be used| Method Detail |
|---|
public boolean isOutputEvent()
true.
isOutputEvent in interface Eventtruepublic boolean isStopEvent()
true.
isStopEvent in interface EventtrueInvokerpublic boolean isSingularEvent()
EventEvent will only be added once to the
EventManager and block all other Events.
If an Event of the same type has already been added to the
EventManager, subsequent calls to
EventManager.addEvent(Event) will return without adding the given
Event.
isSingularEvent in interface EventtrueEvent.isSingularEvent()public void run(ServiceRequest req)
run in interface Eventreq - the requestEvent.run(org.torweg.pulse.service.request.ServiceRequest)public CacheMode getCacheMode()
CacheMode.
getCacheMode in interface EventEvent.getCacheMode()public void setCacheMode(CacheMode c)
CacheMode.
setCacheMode in interface Eventc - the cache mode to setEvent.setCacheMode(org.torweg.pulse.service.request.CacheMode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||