|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.novanic.eventservice.client.event.command.ServerCallCommand<java.lang.Void>
de.novanic.eventservice.client.event.command.DeactivationCommand
public class DeactivationCommand
Deactivates the event listening of the client completely or for a specified domain/context.
| Constructor Summary | |
|---|---|
DeactivationCommand(RemoteEventConnector aRemoteEventConnector)
Creates a DeactivationCommand to deactivate the event listening of the client completely. |
|
DeactivationCommand(RemoteEventConnector aRemoteEventConnector,
Domain aDomain,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> aAsyncCallback)
Creates a DeactivationCommand to deactivate the event listening of the client for a specified domain. |
|
DeactivationCommand(RemoteEventConnector aRemoteEventConnector,
java.util.Set<Domain> aDomains,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> aAsyncCallback)
Creates a DeactivationCommand to deactivate the event listening of the client for a set of domains. |
|
| Method Summary | |
|---|---|
void |
execute()
Deactivates the event listening of the client completely or for a specified domain/context. |
| Methods inherited from class de.novanic.eventservice.client.event.command.ServerCallCommand |
|---|
getCommandCallback, getRemoteEventConnector |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeactivationCommand(RemoteEventConnector aRemoteEventConnector)
aRemoteEventConnector - RemoteEventConnector
public DeactivationCommand(RemoteEventConnector aRemoteEventConnector,
Domain aDomain,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> aAsyncCallback)
aRemoteEventConnector - RemoteEventConnectoraDomain - domain which should be deactivated for event listeningaAsyncCallback - callback for the command
public DeactivationCommand(RemoteEventConnector aRemoteEventConnector,
java.util.Set<Domain> aDomains,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> aAsyncCallback)
DeactivationCommand(de.novanic.eventservice.client.event.RemoteEventConnector, de.novanic.eventservice.client.event.domain.Domain, com.google.gwt.user.client.rpc.AsyncCallback)
when more than one domain should be deactivated, to reduce server calls.
aRemoteEventConnector - RemoteEventConnectoraDomains - domains which should be deactivated for event listeningaAsyncCallback - callback for the command| Method Detail |
|---|
public void execute()
DeactivationCommand(de.novanic.eventservice.client.event.RemoteEventConnector),
DeactivationCommand(de.novanic.eventservice.client.event.RemoteEventConnector, de.novanic.eventservice.client.event.domain.Domain, com.google.gwt.user.client.rpc.AsyncCallback),
DeactivationCommand(de.novanic.eventservice.client.event.RemoteEventConnector, java.util.Set, com.google.gwt.user.client.rpc.AsyncCallback)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||