Differences From Artifact [830fed3178]:
- File src/OFStreamSocket.h — part of check-in [0509d7a844] at 2019-01-03 19:13:03 on branch trunk — Update copyright (user: js, size: 1131) [annotate] [blame] [check-ins using]
To Artifact [3403a64f01]:
- File
src/OFStreamSocket.h
— part of check-in
[496695d778]
at
2019-09-29 19:35:38
on branch trunk
— Either restrict subclassing or reserve ivar space
This allows ABI stability with the fragile ABI. (user: js, size: 1152) [annotate] [blame] [check-ins using] [more...]
| ︙ | ︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
* @brief A class which provides methods to create and use stream sockets.
*/
@interface OFStreamSocket: OFStream <OFReadyForReadingObserving,
OFReadyForWritingObserving>
{
of_socket_t _socket;
bool _atEndOfStream;
}
/*!
* @brief Returns a new, autoreleased OFTCPSocket.
*
* @return A new, autoreleased OFTCPSocket
*/
+ (instancetype)socket;
@end
OF_ASSUME_NONNULL_END
| > | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
* @brief A class which provides methods to create and use stream sockets.
*/
@interface OFStreamSocket: OFStream <OFReadyForReadingObserving,
OFReadyForWritingObserving>
{
of_socket_t _socket;
bool _atEndOfStream;
OF_RESERVE_IVARS(4)
}
/*!
* @brief Returns a new, autoreleased OFTCPSocket.
*
* @return A new, autoreleased OFTCPSocket
*/
+ (instancetype)socket;
@end
OF_ASSUME_NONNULL_END
|