|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
de.novanic.eventservice.service.RemoteEventServiceServlet
public abstract class RemoteEventServiceServlet
RemoteEventServiceServlet is an implementation of EventExecutorService as a servlet
and can be used to add events via the server side.
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
|---|
perThreadRequest, perThreadResponse |
| Constructor Summary | |
|---|---|
RemoteEventServiceServlet()
|
|
| Method Summary | |
|---|---|
void |
addEvent(Domain aDomain,
Event anEvent)
Adds an event for all users |
void |
addEventUserSpecific(Event anEvent)
Adds an event for a specific user |
EventFilter |
getEventFilter(Domain aDomain)
Returns the EventFilter for the user domain combination. |
protected javax.servlet.http.HttpServletRequest |
getRequest()
|
boolean |
isUserRegistered()
Checks if the user is registered for event listening. |
boolean |
isUserRegistered(Domain aDomain)
Checks if the user is registered for event listening. |
void |
removeEventFilter(Domain aDomain)
Removes the EventFilter of the domain. |
void |
setEventFilter(Domain aDomain,
EventFilter anEventFilter)
Changes the EventFilter for the user-domain combination. |
| Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
|---|
doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse |
| Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
|---|
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteEventServiceServlet()
| Method Detail |
|---|
public boolean isUserRegistered()
isUserRegistered in interface EventExecutorServicepublic boolean isUserRegistered(Domain aDomain)
isUserRegistered in interface EventExecutorServiceaDomain - domain to check the registration for the user
public void addEvent(Domain aDomain,
Event anEvent)
addEvent in interface EventExecutorServiceaDomain - the domain to add the eventanEvent - event to addpublic void addEventUserSpecific(Event anEvent)
addEventUserSpecific in interface EventExecutorServiceanEvent - event to add
public void setEventFilter(Domain aDomain,
EventFilter anEventFilter)
EventFilter for the user-domain combination.
The EventFilter can be removed with the method
EventExecutorService.removeEventFilter(de.novanic.eventservice.client.event.domain.Domain)
or when that method is called with NULL as the EventFilter
parameter value.
setEventFilter in interface EventExecutorServiceaDomain - domain to set the EventFilteranEventFilter - new EventFilterpublic EventFilter getEventFilter(Domain aDomain)
getEventFilter in interface EventExecutorServiceaDomain - domain
public void removeEventFilter(Domain aDomain)
EventFilter of the domain.
removeEventFilter in interface EventExecutorServiceaDomain - domain to drop the EventFilter fromprotected javax.servlet.http.HttpServletRequest getRequest()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||