Up
Authors
- Generated by fedor
-
The gdnc daemon is used by GNUstep programs to send
notifications and messages to one another, in
conjunction with the Base library
Notification-related classes.
Every user needs to have his own instance of gdnc
running. While gdnc will be started automatically as
soon as it is needed, it is recommended to start gdnc in a
personal login script like ~/.bashrc or ~/.cshrc.
Alternatively (if you have no command-line tools
which use distributed notifications) you can launch gdnc
when your windowing system or the window manager is
started. For example, on systems with X11 you can
launch gdnc from your.xinitrc script or alternatively -
if you are running Window Maker - put it in Window Maker's
autostart script. See the GNUstep Build Guide for a
sample startup script.
Please see the man page for more information.
- Declared in:
- gdnc.m
Availability: OpenStep
Description forthcoming.
Instance Variables
Instance Variables for GDNCClient Class
@public id client;
Availability: OpenStep
Description forthcoming.
@public NSMutableArray* observers;
Availability: OpenStep
Description forthcoming.
@public BOOL suspended;
Availability: OpenStep
Description forthcoming.
- Declared in:
- gdnc.m
Availability: OpenStep
Description forthcoming.
Instance Variables
Method summary
+ (
GDNCNotification*)
notificationWithName: (NSString*)notificationName
object: (NSString*)notificationObject
data: (NSData*)notificationData;
Availability: OpenStep
Description forthcoming.
Instance Variables for GDNCNotification Class
@public NSData* info;
Availability: OpenStep
Description forthcoming.
@public NSString* name;
Availability: OpenStep
Description forthcoming.
@public NSString* object;
Availability: OpenStep
Description forthcoming.
- Declared in:
- gdnc.m
Availability: OpenStep
Description forthcoming.
Instance Variables
Instance Variables for GDNCObserver Class
@public NSNotificationSuspensionBehavior behavior;
Availability: OpenStep
Description forthcoming.
@public GDNCClient* client;
Availability: OpenStep
Description forthcoming.
@public NSString* notificationName;
Availability: OpenStep
Description forthcoming.
@public NSString* notificationObject;
Availability: OpenStep
Description forthcoming.
@public uint64_t observer;
Availability: OpenStep
Description forthcoming.
@public NSMutableArray* queue;
Availability: OpenStep
Description forthcoming.
@public NSString* selector;
Availability: OpenStep
Description forthcoming.
- Declared in:
- gdnc.m
- Conforms to:
- GDNCProtocol
Availability: OpenStep
Description forthcoming.
Instance Variables
Method summary
- (void)
addObserver: (uint64_t)anObserver
selector: (NSString*)aSelector
name: (NSString*)notificationName
object: (NSString*)anObject
suspensionBehavior: (NSNotificationSuspensionBehavior)suspensionBehavior
for: (id
)client;
Availability: OpenStep
Description forthcoming.
- (BOOL)
connection: (NSConnection*)ancestor
shouldMakeNewConnection: (NSConnection*)newConn;
Availability: OpenStep
Description forthcoming.
- (id)
connectionBecameInvalid: (NSNotification*)notification;
Availability: OpenStep
Description forthcoming.
- (oneway void)
postNotificationName: (NSString*)notificationName
object: (NSString*)notificationObject
userInfo: (NSData*)d
deliverImmediately: (BOOL)deliverImmediately
for: (id
)client;
Availability: OpenStep
Description forthcoming.
- (void)
removeObserver: (
GDNCObserver*)observer;
Availability: OpenStep
Description forthcoming.
- (void)
removeObserver: (uint64_t)anObserver
name: (NSString*)notificationName
object: (NSString*)notificationObject
for: (id
)client;
Availability: OpenStep
Description forthcoming.
- (void)
removeObserversForClients: (NSMapTable*)clients;
Availability: OpenStep
Description forthcoming.
- (void)
setSuspended: (BOOL)flag
for: (id
)client;
Availability: OpenStep
Description forthcoming.
Instance Variables for GDNCServer Class
@protected NSHashTable* allObservers;
Availability: OpenStep
Description forthcoming.
@protected NSConnection* conn;
Availability: OpenStep
Description forthcoming.
@protected NSMapTable* connections;
Availability: OpenStep
Description forthcoming.
@protected NSMutableDictionary* observersForNames;
Availability: OpenStep
Description forthcoming.
@protected NSMutableDictionary* observersForObjects;
Availability: OpenStep
Description forthcoming.
- Declared in:
- gdnc.m
- Conforms to:
- GDNCClient
Availability: OpenStep
Description forthcoming.
Method summary
- (oneway void)
postNotificationName: (NSString*)name
object: (NSString*)object
userInfo: (NSData*)info
selector: (NSString*)aSelector
to: (uint64_t)observer;
Availability: OpenStep
Description forthcoming.
BOOL auto_stop;
Availability: OpenStep
Description forthcoming.
BOOL debugging;
Availability: OpenStep
Description forthcoming.
BOOL is_daemon;
Availability: OpenStep
Description forthcoming.
int log_priority;
Availability: OpenStep
Description forthcoming.
void gdnc_log(int prio, const char* ebuf);
Availability: OpenStep
Description forthcoming.
void ihandler(int sig);
Availability: OpenStep
Description forthcoming.
Up