ObjXMPP  Diff

Differences From Artifact [0b78eccdeb]:

To Artifact [883bb55bc1]:


215
216
217
218
219
220
221
222

223
224
225
226
227

228
229
230
231
232
233
234
235
236
237

238
239
240
241
242

243
244
245
246
247

248
249
250
251
252

253
254
255
256
257
258
259
215
216
217
218
219
220
221

222
223
224
225
226

227
228
229
230
231
232
233
234
235
236

237
238
239
240
241

242
243
244
245
246

247
248
249
250
251

252
253
254
255
256
257
258
259







-
+




-
+









-
+




-
+




-
+




-
+







 * The JID the server assigned to the connection after binding.
 */
@property (readonly, nonatomic) XMPPJID *JID;

/*!
 * The port to connect to.
 */
@property uint16_t port;
@property (nonatomic) uint16_t port;

/*!
 * An object for data storage, conforming to the XMPPStorage protocol.
 */
@property OF_NULLABLE_PROPERTY (assign) id <XMPPStorage> dataStorage;
@property OF_NULLABLE_PROPERTY (nonatomic, assign) id <XMPPStorage> dataStorage;

/*!
 * The socket used for the connection.
 */
@property (readonly, nonatomic) OFTCPSocket *socket;

/*!
 * Whether encryption is required.
 */
@property bool encryptionRequired;
@property (nonatomic) bool encryptionRequired;

/*!
 * Whether the connection is encrypted.
 */
@property (readonly) bool encrypted;
@property (readonly, nonatomic) bool encrypted;

/*!
 * Whether roster versioning is supported.
 */
@property (readonly) bool supportsRosterVersioning;
@property (readonly, nonatomic) bool supportsRosterVersioning;

/*!
 * Whether stream management is supported.
 */
@property (readonly) bool supportsStreamManagement;
@property (readonly, nonatomic) bool supportsStreamManagement;

/*!
 * Creates a new autoreleased XMPPConnection.
 *
 * @return A new autoreleased XMPPConnection
 */
+ (instancetype)connection;