Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Inherits IActivityReceiver.
Public Member Functions | |
void | receive (ChangeColorActivity changeColorActivity) |
void | receive (ChecksumActivity checksumActivity) |
void | receive (ChecksumErrorActivity checksumErrorActivity) |
void | receive (EditorActivity editorActivity) |
void | receive (FileActivity fileActivity) |
void | receive (FolderActivity folderActivity) |
void | receive (JupiterActivity jupiterActivity) |
void | receive (NOPActivity nopActivity) |
void | receive (PermissionActivity permissionActivity) |
void | receive (ProgressActivity progressActivity) |
void | receive (ShareConsoleActivity shareConsoleActivity) |
void | receive (StartFollowingActivity startFollowingActivity) |
void | receive (StopActivity stopActivity) |
void | receive (StopFollowingActivity stopFollowingActivity) |
void | receive (TextEditActivity textEditActivity) |
void | receive (TextSelectionActivity textSelectionActivity) |
void | receive (VCSActivity vcsActivity) |
void | receive (ViewportActivity viewportActivity) |
Abstract implementation of IActivityReceiver, which does nothing.
Useful, if just interested in some particular IActivity
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | ChangeColorActivity | changeColorActivity | ) |
4, Creating a new Activity type, Triple dispatch abstract class:
Instead of creating stubs for all receive() variants for IActivity types you're not even interested in, you can extend this abstract class and just override the one (or few) method(s) you actually care about.
So once you added a new receive() variant to IActivityReceiver, make sure to add a null-implementation for your new activity type here, to unburden all *other* IActivityReceiver implementations from having to implement the receive() method for *your* new activity.
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | ViewportActivity | viewportActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | VCSActivity | vcsActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | TextSelectionActivity | textSelectionActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | TextEditActivity | textEditActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | StopFollowingActivity | stopFollowingActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | StopActivity | stopActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | StartFollowingActivity | startFollowingActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | ShareConsoleActivity | shareConsoleActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | ProgressActivity | progressActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | PermissionActivity | permissionActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | NOPActivity | nopActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | JupiterActivity | jupiterActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | FolderActivity | folderActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | FileActivity | fileActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | EditorActivity | editorActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | ChecksumErrorActivity | checksumErrorActivity | ) |
void de.fu_berlin.inf.dpp.activities.AbstractActivityReceiver.receive | ( | ChecksumActivity | checksumActivity | ) |