Declare new methods and classes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1124 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-03-12 19:45:24 +00:00
parent f9e74bde31
commit 8a6b87d429
4 changed files with 74 additions and 30 deletions

View file

@ -48,12 +48,11 @@
}
+ newForReceivingFromPortNumber: (unsigned short)n;
+ newForReceivingFromRegisteredName: (id <String>)name;
/* 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. */
- receivePacketWithTimeout: (int)milliseconds;
- newReceivedPacketBeforeDate: date;
/* xxx Change this name to - newPacketReceivedWithTimeout: to emphasize
need to release the returned packet. */
@ -78,18 +77,16 @@
+ newForSendingToPortNumber: (unsigned short)n
onHost: (id <String>)hostname;
+ newForSendingToRegisteredName: (id <String>)name
onHost: (id <String>)hostname;
- (BOOL) sendPacket: packet withTimeout: (int)milliseconds;
- (int) portNumber;
@end
/* */
/* Holders of sent and received data. */
@interface TcpPacket : Packet
@interface TcpInPacket : InPacket
@end
@interface TcpOutPacket : OutPacket
@end