(TcpInPort _run_loops): Make it a Bag.

(TcpInPort _run_loop_modes): Remove ivar.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1138 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-03-13 02:39:07 +00:00
parent ae9d7fa426
commit 22d088ceeb
2 changed files with 8 additions and 12 deletions

View file

@ -42,9 +42,9 @@
fd_set active_fd_set;
NSMapTable *client_sock_2_out_port;
NSMapTable *client_sock_2_packet;
/* The RunLoop with which our file descriptors are registered. */
id _run_loop;
id _run_loop_mode;
/* The RunLoops with which our file descriptors are registered. */
Bag *_run_loops;
/* xxx run loop modes are currently ignored. */
}
+ newForReceivingFromPortNumber: (unsigned short)n;
@ -52,9 +52,7 @@
/* Get a packet from the net and return it. If no packet is received
within MILLISECONDS, then return nil. The caller is responsible
for releasing the packet. */
- newReceivedPacketBeforeDate: date;
/* xxx Change this name to - newPacketReceivedWithTimeout: to emphasize
need to release the returned packet. */
- newPacketReceivedBeforeDate: date;
- (int) portNumber;
- (id <Collecting>) connectedOutPorts;

View file

@ -42,9 +42,9 @@
fd_set active_fd_set;
NSMapTable *client_sock_2_out_port;
NSMapTable *client_sock_2_packet;
/* The RunLoop with which our file descriptors are registered. */
id _run_loop;
id _run_loop_mode;
/* The RunLoops with which our file descriptors are registered. */
Bag *_run_loops;
/* xxx run loop modes are currently ignored. */
}
+ newForReceivingFromPortNumber: (unsigned short)n;
@ -52,9 +52,7 @@
/* Get a packet from the net and return it. If no packet is received
within MILLISECONDS, then return nil. The caller is responsible
for releasing the packet. */
- newReceivedPacketBeforeDate: date;
/* xxx Change this name to - newPacketReceivedWithTimeout: to emphasize
need to release the returned packet. */
- newPacketReceivedBeforeDate: date;
- (int) portNumber;
- (id <Collecting>) connectedOutPorts;