Differences From Artifact [de62d2cefb]:
- File
src/IRCConnection.h
— part of check-in
[38de3de8ed]
at
2017-01-22 17:24:18
on branch trunk
— IRCConnection: Make the socket class configurable
This makes using TLS possible. (user: js, size: 4227) [annotate] [blame] [check-ins using]
To Artifact [c6f6102a91]:
- File src/IRCConnection.h — part of check-in [0ca6e4f04d] at 2017-01-22 20:49:44 on branch trunk — IRCConnection: Make fallback encoding configurable (user: js, size: 4308) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
77 78 79 80 81 82 83 84 85 86 87 | Class _socketClass; OF_KINDOF(OFTCPSocket) *_socket; OFString *_server; uint16_t _port; OFString *_nickname, *_username, *_realname; OFMutableDictionary *_channels; id <IRCConnectionDelegate> _delegate; } @property (assign) Class socketClass; @property (copy) OFString *server; | > | > | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | Class _socketClass; OF_KINDOF(OFTCPSocket) *_socket; OFString *_server; uint16_t _port; OFString *_nickname, *_username, *_realname; OFMutableDictionary *_channels; id <IRCConnectionDelegate> _delegate; of_string_encoding_t _fallbackEncoding; } @property (assign) Class socketClass; @property (copy) OFString *server; @property uint16_t port; @property (copy) OFString *nickname, *username, *realname; @property (assign) id <IRCConnectionDelegate> delegate; @property (readonly, retain) OFTCPSocket *socket; @property of_string_encoding_t fallbackEncoding; + (instancetype)connection; - (void)sendLine: (OFString*)line; - (void)sendLineWithFormat: (OFConstantString*)line, ...; - (void)connect; - (void)disconnect; - (void)disconnectWithReason: (OFString*)reason; |
︙ | ︙ |