mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +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
48ff0e32af
commit
87a1745c9d
2 changed files with 8 additions and 12 deletions
|
@ -42,9 +42,9 @@
|
||||||
fd_set active_fd_set;
|
fd_set active_fd_set;
|
||||||
NSMapTable *client_sock_2_out_port;
|
NSMapTable *client_sock_2_out_port;
|
||||||
NSMapTable *client_sock_2_packet;
|
NSMapTable *client_sock_2_packet;
|
||||||
/* The RunLoop with which our file descriptors are registered. */
|
/* The RunLoops with which our file descriptors are registered. */
|
||||||
id _run_loop;
|
Bag *_run_loops;
|
||||||
id _run_loop_mode;
|
/* xxx run loop modes are currently ignored. */
|
||||||
}
|
}
|
||||||
|
|
||||||
+ newForReceivingFromPortNumber: (unsigned short)n;
|
+ newForReceivingFromPortNumber: (unsigned short)n;
|
||||||
|
@ -52,9 +52,7 @@
|
||||||
/* Get a packet from the net and return it. If no packet is received
|
/* Get a packet from the net and return it. If no packet is received
|
||||||
within MILLISECONDS, then return nil. The caller is responsible
|
within MILLISECONDS, then return nil. The caller is responsible
|
||||||
for releasing the packet. */
|
for releasing the packet. */
|
||||||
- newReceivedPacketBeforeDate: date;
|
- newPacketReceivedBeforeDate: date;
|
||||||
/* xxx Change this name to - newPacketReceivedWithTimeout: to emphasize
|
|
||||||
need to release the returned packet. */
|
|
||||||
|
|
||||||
- (int) portNumber;
|
- (int) portNumber;
|
||||||
- (id <Collecting>) connectedOutPorts;
|
- (id <Collecting>) connectedOutPorts;
|
||||||
|
|
|
@ -42,9 +42,9 @@
|
||||||
fd_set active_fd_set;
|
fd_set active_fd_set;
|
||||||
NSMapTable *client_sock_2_out_port;
|
NSMapTable *client_sock_2_out_port;
|
||||||
NSMapTable *client_sock_2_packet;
|
NSMapTable *client_sock_2_packet;
|
||||||
/* The RunLoop with which our file descriptors are registered. */
|
/* The RunLoops with which our file descriptors are registered. */
|
||||||
id _run_loop;
|
Bag *_run_loops;
|
||||||
id _run_loop_mode;
|
/* xxx run loop modes are currently ignored. */
|
||||||
}
|
}
|
||||||
|
|
||||||
+ newForReceivingFromPortNumber: (unsigned short)n;
|
+ newForReceivingFromPortNumber: (unsigned short)n;
|
||||||
|
@ -52,9 +52,7 @@
|
||||||
/* Get a packet from the net and return it. If no packet is received
|
/* Get a packet from the net and return it. If no packet is received
|
||||||
within MILLISECONDS, then return nil. The caller is responsible
|
within MILLISECONDS, then return nil. The caller is responsible
|
||||||
for releasing the packet. */
|
for releasing the packet. */
|
||||||
- newReceivedPacketBeforeDate: date;
|
- newPacketReceivedBeforeDate: date;
|
||||||
/* xxx Change this name to - newPacketReceivedWithTimeout: to emphasize
|
|
||||||
need to release the returned packet. */
|
|
||||||
|
|
||||||
- (int) portNumber;
|
- (int) portNumber;
|
||||||
- (id <Collecting>) connectedOutPorts;
|
- (id <Collecting>) connectedOutPorts;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue