mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
more tidying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4417 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
eda1ff3d60
commit
d4a2b2e2ef
3 changed files with 10 additions and 10 deletions
|
@ -6,6 +6,8 @@ Thu Jun 17 12:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||||
* Source/NSPort.m: ditto
|
* Source/NSPort.m: ditto
|
||||||
* Source/NSPortNameServer.m: ditto
|
* Source/NSPortNameServer.m: ditto
|
||||||
* Source/NSSerializer.m: ditto
|
* Source/NSSerializer.m: ditto
|
||||||
|
* Source/Port.m: ditto
|
||||||
|
* Source/TcpPort.m: ditto
|
||||||
|
|
||||||
Mon Jun 14 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
Mon Jun 14 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <base/Port.h>
|
#include <base/Port.h>
|
||||||
#include <base/Coder.h> /* for Coding protocol in Object category */
|
#include <base/Coder.h> /* for Coding protocol in Object category */
|
||||||
#include <base/NotificationDispatcher.h>
|
#include <Foundation/NSNotification.h>
|
||||||
#include <Foundation/NSException.h>
|
#include <Foundation/NSException.h>
|
||||||
|
|
||||||
@implementation Port
|
@implementation Port
|
||||||
|
|
|
@ -35,13 +35,12 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <base/preface.h>
|
#include <base/preface.h>
|
||||||
#include <base/TcpPort.h>
|
#include <Foundation/TcpPort.h>
|
||||||
#include <base/Array.h>
|
#include <Foundation/NSArray.h>
|
||||||
#include <base/NotificationDispatcher.h>
|
#include <Foundation/NSNotification.h>
|
||||||
#include <base/NSException.h>
|
#include <Foundation/NSException.h>
|
||||||
#include <Foundation/NSRunLoop.h>
|
#include <Foundation/NSRunLoop.h>
|
||||||
#include <Foundation/NSByteOrder.h>
|
#include <Foundation/NSByteOrder.h>
|
||||||
#include <base/Invocation.h>
|
|
||||||
#include <Foundation/NSData.h>
|
#include <Foundation/NSData.h>
|
||||||
#include <Foundation/NSDate.h>
|
#include <Foundation/NSDate.h>
|
||||||
#include <Foundation/NSHashTable.h>
|
#include <Foundation/NSHashTable.h>
|
||||||
|
@ -1273,8 +1272,7 @@ static NSMapTable* port_number_2_port;
|
||||||
NSNextMapEnumeratorPair (&me, (void*)&sock, (void*)&out_port);
|
NSNextMapEnumeratorPair (&me, (void*)&sock, (void*)&out_port);
|
||||||
i++)
|
i++)
|
||||||
out_ports[i] = out_port;
|
out_ports[i] = out_port;
|
||||||
return [[[Array alloc] initWithObjects: out_ports count: count]
|
return [NSArray arrayWithObjects: out_ports count: count];
|
||||||
autorelease];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (unsigned) numberOfConnectedOutPorts
|
- (unsigned) numberOfConnectedOutPorts
|
||||||
|
@ -1372,7 +1370,7 @@ static NSMapTable* port_number_2_port;
|
||||||
if (debug_tcp_port)
|
if (debug_tcp_port)
|
||||||
NSLog(@"%s: Accepted connection from\n %@.\n",
|
NSLog(@"%s: Accepted connection from\n %@.\n",
|
||||||
object_get_class_name (self), [op description]);
|
object_get_class_name (self), [op description]);
|
||||||
[NotificationDispatcher
|
[[NSNotificationCenter defaultCenter]
|
||||||
postNotificationName: InPortAcceptedClientNotification
|
postNotificationName: InPortAcceptedClientNotification
|
||||||
object: self
|
object: self
|
||||||
userInfo: op];
|
userInfo: op];
|
||||||
|
@ -1554,7 +1552,7 @@ static NSMapTable* port_number_2_port;
|
||||||
#if 0
|
#if 0
|
||||||
/* xxx Should this be earlier, so that the notification recievers
|
/* xxx Should this be earlier, so that the notification recievers
|
||||||
can still use _client_sock_2_out_port before the out port P is removed? */
|
can still use _client_sock_2_out_port before the out port P is removed? */
|
||||||
[NotificationDispatcher
|
[[NSNotificationCenter defaultCenter]
|
||||||
postNotificationName: InPortClientBecameInvalidNotification
|
postNotificationName: InPortClientBecameInvalidNotification
|
||||||
object: self
|
object: self
|
||||||
userInfo: p];
|
userInfo: p];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue