Up

gdnc documentation

Authors

Generated by fedor

Contents -

  1. gdnc
  2. Software documentation for the GDNCClient class
  3. Software documentation for the GDNCNotification class
  4. Software documentation for the GDNCObserver class
  5. Software documentation for the GDNCServer class
  6. Software documentation for the NSDistributedNotificationCenterGDNCDummy class
  7. gdnc variables
  8. gdnc functions

gdnc

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.

Software documentation for the GDNCClient class

GDNCClient : NSObject

Declared in:
gdnc.m
Availability: OpenStep

Description forthcoming.

Instance Variables



Instance Variables for GDNCClient Class

client

@public id client;
Availability: OpenStep

Description forthcoming.

observers

@public NSMutableArray* observers;
Availability: OpenStep

Description forthcoming.

suspended

@public BOOL suspended;
Availability: OpenStep

Description forthcoming.




Software documentation for the GDNCNotification class

GDNCNotification : NSObject

Declared in:
gdnc.m
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary

notificationWithName: object: data: 

+ (GDNCNotification*) notificationWithName: (NSString*)notificationName object: (NSString*)notificationObject data: (NSData*)notificationData;
Availability: OpenStep

Description forthcoming.



Instance Variables for GDNCNotification Class

info

@public NSData* info;
Availability: OpenStep

Description forthcoming.

name

@public NSString* name;
Availability: OpenStep

Description forthcoming.

object

@public NSString* object;
Availability: OpenStep

Description forthcoming.




Software documentation for the GDNCObserver class

GDNCObserver : NSObject

Declared in:
gdnc.m
Availability: OpenStep

Description forthcoming.

Instance Variables



Instance Variables for GDNCObserver Class

behavior

@public NSNotificationSuspensionBehavior behavior;
Availability: OpenStep

Description forthcoming.

client

@public GDNCClient* client;
Availability: OpenStep

Description forthcoming.

notificationName

@public NSString* notificationName;
Availability: OpenStep

Description forthcoming.

notificationObject

@public NSString* notificationObject;
Availability: OpenStep

Description forthcoming.

observer

@public uint64_t observer;
Availability: OpenStep

Description forthcoming.

queue

@public NSMutableArray* queue;
Availability: OpenStep

Description forthcoming.

selector

@public NSString* selector;
Availability: OpenStep

Description forthcoming.




Software documentation for the GDNCServer class

GDNCServer : NSObject

Declared in:
gdnc.m
Conforms to:
GDNCProtocol
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary

addObserver: selector: name: object: suspensionBehavior: for: 

- (void) addObserver: (uint64_t)anObserver selector: (NSString*)aSelector name: (NSString*)notificationName object: (NSString*)anObject suspensionBehavior: (NSNotificationSuspensionBehavior)suspensionBehavior for: (id)client;
Availability: OpenStep

Description forthcoming.

connection: shouldMakeNewConnection: 

- (BOOL) connection: (NSConnection*)ancestor shouldMakeNewConnection: (NSConnection*)newConn;
Availability: OpenStep

Description forthcoming.

connectionBecameInvalid: 

- (id) connectionBecameInvalid: (NSNotification*)notification;
Availability: OpenStep

Description forthcoming.

postNotificationName: object: userInfo: deliverImmediately: for: 

- (oneway void) postNotificationName: (NSString*)notificationName object: (NSString*)notificationObject userInfo: (NSData*)d deliverImmediately: (BOOL)deliverImmediately for: (id)client;
Availability: OpenStep

Description forthcoming.

removeObserver: 

- (void) removeObserver: (GDNCObserver*)observer;
Availability: OpenStep

Description forthcoming.

removeObserver: name: object: for: 

- (void) removeObserver: (uint64_t)anObserver name: (NSString*)notificationName object: (NSString*)notificationObject for: (id)client;
Availability: OpenStep

Description forthcoming.

removeObserversForClients: 

- (void) removeObserversForClients: (NSMapTable*)clients;
Availability: OpenStep

Description forthcoming.

setSuspended: for: 

- (void) setSuspended: (BOOL)flag for: (id)client;
Availability: OpenStep

Description forthcoming.



Instance Variables for GDNCServer Class

allObservers

@protected NSHashTable* allObservers;
Availability: OpenStep

Description forthcoming.

conn

@protected NSConnection* conn;
Availability: OpenStep

Description forthcoming.

connections

@protected NSMapTable* connections;
Availability: OpenStep

Description forthcoming.

observersForNames

@protected NSMutableDictionary* observersForNames;
Availability: OpenStep

Description forthcoming.

observersForObjects

@protected NSMutableDictionary* observersForObjects;
Availability: OpenStep

Description forthcoming.




Software documentation for the NSDistributedNotificationCenterGDNCDummy class

NSDistributedNotificationCenterGDNCDummy : NSObject

Declared in:
gdnc.m
Conforms to:
GDNCClient
Availability: OpenStep

Description forthcoming.
Method summary

postNotificationName: object: userInfo: selector: to: 

- (oneway void) postNotificationName: (NSString*)name object: (NSString*)object userInfo: (NSData*)info selector: (NSString*)aSelector to: (uint64_t)observer;
Availability: OpenStep

Description forthcoming.

gdnc variables

auto_stop

BOOL auto_stop;
Availability: OpenStep

Description forthcoming.

debugging

BOOL debugging;
Availability: OpenStep

Description forthcoming.

is_daemon

BOOL is_daemon;
Availability: OpenStep

Description forthcoming.

log_priority

int log_priority;
Availability: OpenStep

Description forthcoming.

gdnc functions

gdnc_log

void gdnc_log(int prio, const char* ebuf);
Availability: OpenStep

Description forthcoming.

ihandler

void ihandler(int sig);
Availability: OpenStep

Description forthcoming.


Up