|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UnlistenEvent
An UnlistenEvent will be triggered when a timeout or a domain specific unlisten/deregistration occurs. The UnlistenEvent is created by
EventService when unlisten is called for a user. It will also be returned as an
event (from the listen method) and will be added to the UnlistenDomain DomainFactory.UNLISTEN_DOMAIN.
EventService.unlisten(),
EventService.unlisten(Domain),
EventService.unlisten(java.util.Set)| Method Summary | |
|---|---|
java.util.Set<Domain> |
getDomains()
Returns the domain for which isn't listening anymore. |
java.lang.String |
getUserId()
Returns the unlistened user id for the UnlistenEvent. |
boolean |
isLocal()
Returns true when the UnlistenEvent is triggered from the client side. |
boolean |
isTimeout()
Returns true when the UnlistenEvent is a timeout, otherwise false (for example a domain specific UnlistenEvent). |
void |
setDomains(java.util.Set<Domain> aDomains)
A Domain can be set to the UnlistenEvent when the unlisten event
is domain specific. |
void |
setLocal(boolean isLocal)
Sets the local flag. |
void |
setTimeout(boolean aTimeout)
Sets the timeout flag. |
void |
setUserId(java.lang.String aUserId)
Sets the unlistened user id for the UnlistenEvent. |
| Method Detail |
|---|
void setDomains(java.util.Set<Domain> aDomains)
Domain can be set to the UnlistenEvent when the unlisten event
is domain specific.
aDomains - unlistened domainsjava.util.Set<Domain> getDomains()
void setUserId(java.lang.String aUserId)
aUserId - unlistened user idjava.lang.String getUserId()
boolean isTimeout()
void setTimeout(boolean aTimeout)
aTimeout - true when the UnlistenEvent marks a timeout, otherwise false (for example a domain specific UnlistenEvent)boolean isLocal()
void setLocal(boolean isLocal)
isLocal - true when triggered from client side, otherwise false
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||