NSPortNameServer improvements.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4930 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-09-21 19:07:27 +00:00
parent d5515c9453
commit f41b8f7d23
3 changed files with 580 additions and 540 deletions

View file

@ -1,4 +1,10 @@
Sun Sep 20 6:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
Tue Sep 21 20:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Headers/Foundation/NSPortNameServer.h: Tidied and removed a few ivars.
* Source/NSPortNameServer.m: Rewritten to be a bit clearer and to
permit parallel lookup on multiple hosts.
Sun Sep 19 6:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* NSString.m: Fix bug in ([+stringByStandardizingPath]) with trailing
slash.

View file

@ -1,5 +1,5 @@
/* Interface of NSPortNameServer class for Distributed Objects
Copyright (C) 1998 Free Software Foundation, Inc.
Copyright (C) 1998,1999 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>
Created: October 1998
@ -26,13 +26,10 @@
#include <Foundation/NSObject.h>
@class NSPort, NSString, NSMutableData, NSFileHandle;
@class NSPort, NSString, NSMutableArray;
@interface NSPortNameServer : NSObject
{
NSFileHandle *_handle; /* File handle to talk to gdomap. */
NSMutableData *_data; /* Where to accumulated incoming data. */
unsigned _expecting; /* Length of data we want. */
NSMapTable *_portMap; /* Registered ports information. */
NSMapTable *_nameMap; /* Registered names information. */
}

File diff suppressed because it is too large Load diff