mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
documented functions, types, constants, and variables
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19797 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b8a296b3df
commit
0d31eca394
39 changed files with 1010 additions and 116 deletions
|
@ -87,19 +87,64 @@
|
|||
|
||||
// Notification names.
|
||||
|
||||
/**
|
||||
* Posted when one of the [NSFileHandle] methods
|
||||
* <code>acceptConnectionInBackground...</code> succeeds and has connected to a
|
||||
* stream-type socket in another process. The notification's
|
||||
* <em>userInfo</em> dictionary will contain the [NSFileHandle] for the near
|
||||
* end of the connection (associated to the key
|
||||
* '<code>NSFileHandleNotificationFileHandleItem</code>').
|
||||
*/
|
||||
GS_EXPORT NSString * const NSFileHandleConnectionAcceptedNotification;
|
||||
|
||||
/**
|
||||
* Posted when one of the [NSFileHandle] methods
|
||||
* <code>waitForDataInBackground...</code> has been informed that data is
|
||||
* available. The receiving [NSFileHandle] is passed in the notification.
|
||||
*/
|
||||
GS_EXPORT NSString * const NSFileHandleDataAvailableNotification;
|
||||
|
||||
/**
|
||||
* Posted when one of the [NSFileHandle] methods readDataInBackground... has
|
||||
* consumed data. The receiving [NSFileHandle] is passed in the
|
||||
* notification's <em>userInfo</em> dictionary associated to the key
|
||||
* '<code>NSFileHandleNotificationDataItem</code>'.
|
||||
*/
|
||||
GS_EXPORT NSString * const NSFileHandleReadCompletionNotification;
|
||||
|
||||
/**
|
||||
* Posted when one of the [NSFileHandle] methods
|
||||
* <code>readToEndOfFileInBackground...</code> has finished. The receiving
|
||||
* [NSFileHandle] is passed in the notification's <em>userInfo</em> dictionary
|
||||
* associated to the key '<code>NSFileHandleNotificationDataItem</code>'.
|
||||
*/
|
||||
GS_EXPORT NSString * const NSFileHandleReadToEndOfFileCompletionNotification;
|
||||
|
||||
// Keys for accessing userInfo dictionary in notification handlers.
|
||||
|
||||
/**
|
||||
* Dictionary key for [NSFileHandle] notifications used to mark the
|
||||
* [NSFileHandle] receiving data.
|
||||
*/
|
||||
GS_EXPORT NSString * const NSFileHandleNotificationDataItem;
|
||||
|
||||
/**
|
||||
* Dictionary key for [NSFileHandle] notifications used to mark the
|
||||
* [NSFileHandle] that has established a stream-socket connection.
|
||||
*/
|
||||
GS_EXPORT NSString * const NSFileHandleNotificationFileHandleItem;
|
||||
|
||||
/**
|
||||
* Dictionary key for [NSFileHandle] notifications postable to certain run
|
||||
* loop modes, associated to an NSArray containing the modes allowed.
|
||||
*/
|
||||
GS_EXPORT NSString * const NSFileHandleNotificationMonitorModes;
|
||||
|
||||
// Exceptions
|
||||
|
||||
/**
|
||||
* Exception raised when attempts to read from an [NSFileHandle] channel fail.
|
||||
*/
|
||||
GS_EXPORT NSString * const NSFileHandleOperationException;
|
||||
|
||||
@interface NSPipe : NSObject
|
||||
|
@ -170,10 +215,22 @@ GS_EXPORT NSString * const NSFileHandleOperationException;
|
|||
|
||||
// GNUstep Notification names.
|
||||
|
||||
/**
|
||||
* Notification posted when an asynchronous [NSFileHandle] connection
|
||||
* attempt (to an FTP, HTTP, or other internet server) has succeeded.
|
||||
*/
|
||||
GS_EXPORT NSString * const GSFileHandleConnectCompletionNotification;
|
||||
|
||||
/**
|
||||
* Notification posted when an asynchronous [NSFileHandle] write
|
||||
* operation (to an FTP, HTTP, or other internet server) has succeeded.
|
||||
*/
|
||||
GS_EXPORT NSString * const GSFileHandleWriteCompletionNotification;
|
||||
|
||||
// Message describing error in async accept,read,write operation.
|
||||
/**
|
||||
* Message describing error in asynchronous [NSFileHandle] accept,read,write
|
||||
* operation.
|
||||
*/
|
||||
GS_EXPORT NSString * const GSFileHandleNotificationError;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue