mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(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:
parent
ae9d7fa426
commit
22d088ceeb
2 changed files with 8 additions and 12 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue