ERJGroupsNotificationCenter Class Reference

Inherits er::extensions::foundation::ERXRemoteNotificationCenter.

Collaboration diagram for ERJGroupsNotificationCenter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void postRemoteNotification (NSNotification notification)

Static Public Member Functions

static void install ()

Protected Member Functions

 ERJGroupsNotificationCenter () throws ChannelException
void writeNotification (NSNotification notification) throws ChannelNotConnectedException, ChannelClosedException, IOException

Private Attributes

JChannel _channel
String _groupName
boolean _postLocal

Static Private Attributes

static ERJGroupsNotificationCenter _sharedInstance
static final Logger log = Logger.getLogger(ERJGroupsNotificationCenter.class)


Detailed Description

NSNotificationCenter that can post simple notifications to other apps. Serializes the NSNotification, so be sure not to put EOs or similar stuff into it. Also the object is sent into the stream, so you must override equals() so it also gets the notification on the other side (totally untested).
Note: you must specifically register here, not at NSNotificationCenter.defaultCenter().

Author:
ak

Constructor & Destructor Documentation

ERJGroupsNotificationCenter (  )  throws ChannelException [protected]


Member Function Documentation

static void install (  )  [static]

void postRemoteNotification ( NSNotification  notification  )  [virtual]

Post a notification to the remote listeners.

Parameters:
notification 

Implements ERXRemoteNotificationCenter.

void writeNotification ( NSNotification  notification  )  throws ChannelNotConnectedException, ChannelClosedException, IOException [protected]


Member Data Documentation

JChannel _channel [private]

String _groupName [private]

boolean _postLocal [private]

Reimplemented from ERXRemoteNotificationCenter.

final Logger log = Logger.getLogger(ERJGroupsNotificationCenter.class) [static, private]

Reimplemented from ERXRemoteNotificationCenter.


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:22 2012 for Project Wonder by  doxygen 1.5.8