home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.3 (Developer)
/
NeXT_Developer-3.3.iso
/
NextDeveloper
/
Headers
/
machkit
/
NXInvalidationNotifier.h
< prev
next >
Wrap
Text File
|
1992-03-03
|
857b
|
36 lines
/*
* NXInvalidationNotifier
* allow objects to register themselves for a senderIsInvalid message
* Notification is triggered by sending "invalidate" to this object
* Copyright 1991, NeXT Computer, Inc.
*/
#import <objc/List.h>
#import <machkit/reference.h>
#import <machkit/senderIsInvalid.h>
#import <machkit/NXLock.h>
@interface NXInvalidationNotifier : Object <NXReference> {
@protected
unsigned refcount;
BOOL isValid;
NXLock *listGate;
List *funeralList;
}
- init;
- deallocate;
- invalidate;
- (BOOL) isValid;
// The target of this message will arrange to send "senderIsInvalid"
// when, indeed, the target is about to die (is invalidated).
- registerForInvalidationNotification:(id <NXSenderIsInvalid>)anObject;
// cancel the request for notification
- unregisterForInvalidationNotification:(id <NXSenderIsInvalid>)anObject;
@end