public class CompositeSpaceModeListener extends Object implements ISpaceModeListener
Constructor and Description |
---|
CompositeSpaceModeListener() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ISpaceModeListener listener) |
void |
afterSpaceModeChange(SpaceMode newMode)
Called right after the space mode changes.
|
void |
beforeSpaceModeChange(SpaceMode newMode)
Called right before the space mode changes.
Implementors usually use it to allow specific service initializations. |
void |
clear() |
void |
removeListener(ISpaceModeListener listener) |
public void afterSpaceModeChange(SpaceMode newMode) throws RemoteException
ISpaceModeListener
afterSpaceModeChange
in interface ISpaceModeListener
newMode
- the new mode change after it was published.RemoteException
- if an exception occurred during execution of a remote call.public void beforeSpaceModeChange(SpaceMode newMode) throws RemoteException
ISpaceModeListener
beforeSpaceModeChange
in interface ISpaceModeListener
newMode
- the new mode change before it's published.RemoteException
- if an exception occurred during execution of a remote call.public void addListener(ISpaceModeListener listener)
public void removeListener(ISpaceModeListener listener)
public void clear()
Copyright © GigaSpaces.