2000-03-05 17:39:33 +00:00
|
|
|
<html><head>
|
|
|
|
<title>NSDistributedNotificationCenter</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<a href="NSDistributedLock.html">[Previous]</a>
|
2000-04-10 05:32:04 +00:00
|
|
|
<a href="Base.html">[Up]</a>
|
2000-03-05 17:39:33 +00:00
|
|
|
<a href="NSEnumerator.html">[Next]</a>
|
|
|
|
<h1>NSDistributedNotificationCenter</h1>
|
|
|
|
<h3>Authors</h3>
|
|
|
|
<dl>
|
|
|
|
<dt><a href="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
|
|
|
|
<dd>
|
|
|
|
</dl>
|
|
|
|
<p>Version: 0.1</p>
|
|
|
|
<p>Date: 28 February, 2000</p>
|
|
|
|
<h2><a name="cont-0">NSDistributedNotificationCenter</a></h2>
|
|
|
|
<h2><a name="NSDistributedNotificationCenter">NSDistributedNotificationCenter</a></h2>
|
|
|
|
<p><b>Declared in:</b> Foundation/NSDistributedNotificationCenter.h</p>
|
|
|
|
<p><b>Inherits from:</b> NSNotificationCenter</p>
|
|
|
|
<p><b>Conforms to:</b> NSObject
|
|
|
|
</p>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><a href="NSDistributedNotificationCenter.html#method-0">+defaultCenter</a>
|
|
|
|
<li><a href="NSDistributedNotificationCenter.html#method-1">+notificationCenterForType:</a>
|
|
|
|
<li><a href="NSDistributedNotificationCenter.html#method-2">-addObserver:selector:name:</a>
|
|
|
|
<li><a href="NSDistributedNotificationCenter.html#method-3">-addObserver:selector:name:object:suspensionBehavior:</a>
|
|
|
|
<li><a href="NSDistributedNotificationCenter.html#method-4">-postNotification:</a>
|
|
|
|
<li><a href="NSDistributedNotificationCenter.html#method-5">-postNotificationName:</a>
|
|
|
|
<li><a href="NSDistributedNotificationCenter.html#method-6">-postNotificationName:object:userInfo:</a>
|
|
|
|
<li><a href="NSDistributedNotificationCenter.html#method-7">-postNotificationName:object:userInfo:deliverImmediately:</a>
|
|
|
|
<li><a href="NSDistributedNotificationCenter.html#method-8">-removeObserver:name:object:</a>
|
|
|
|
<li><a href="NSDistributedNotificationCenter.html#method-9">-setSuspended:</a>
|
|
|
|
<li><a href="NSDistributedNotificationCenter.html#method-10">-suspended</a>
|
|
|
|
</ul>
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-0">defaultCenter</a></h2>
|
|
|
|
+ (NSNotificationCenter*) <b>defaultCenter</b><br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-1">notificationCenterForType:</a></h2>
|
|
|
|
+ (NSDistributedNotificationCenter*) <b>notificationCenterForType:</b> (NSString*)type<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-2">addObserver:selector:name:</a></h2>
|
|
|
|
- (void) <b>addObserver:</b> (id)anObserver <b>selector:</b> (SEL)aSelector <b>name:</b> (NSString*)notificationName<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-3">addObserver:selector:name:object:suspensionBehavior:</a></h2>
|
|
|
|
- (void) <b>addObserver:</b> (id)anObserver <b>selector:</b> (SEL)aSelector <b>name:</b> (NSString*)notificationName <b>object:</b> (NSString*)anObject <b>suspensionBehavior:</b> (NSNotificationSuspensionBehavior)suspensionBehavior<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-4">postNotification:</a></h2>
|
|
|
|
- (void) <b>postNotification:</b> (NSNotification*)notification<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-5">postNotificationName:</a></h2>
|
|
|
|
- (void) <b>postNotificationName:</b> (NSString*)notificationName<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-6">postNotificationName:object:userInfo:</a></h2>
|
|
|
|
- (void) <b>postNotificationName:</b> (NSString*)notificationName <b>object:</b> (NSString*)anObject <b>userInfo:</b> (NSDictionary*)userInfo<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-7">postNotificationName:object:userInfo:deliverImmediately:</a></h2>
|
|
|
|
- (void) <b>postNotificationName:</b> (NSString*)notificationName <b>object:</b> (NSString*)anObject <b>userInfo:</b> (NSDictionary*)userInfo <b>deliverImmediately:</b> (BOOL)deliverImmediately<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-8">removeObserver:name:object:</a></h2>
|
|
|
|
- (void) <b>removeObserver:</b> (id)anObserver <b>name:</b> (NSString*)notificationName <b>object:</b> (NSString*)anObject<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-9">setSuspended:</a></h2>
|
|
|
|
- (void) <b>setSuspended:</b> (BOOL)suspended<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-10">suspended</a></h2>
|
|
|
|
- (BOOL) <b>suspended</b><br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|