Separate server (where to connect to) and domain (what that server hosts)
This commit is contained in:
parent
ec3e12b62a
commit
901108dd1c
3 changed files with 83 additions and 21 deletions
|
@ -67,7 +67,7 @@
|
|||
OFTCPSocket *sock;
|
||||
OFXMLParser *parser, *oldParser;
|
||||
OFXMLElementBuilder *elementBuilder, *oldElementBuilder;
|
||||
OFString *username, *password, *server, *resource;
|
||||
OFString *username, *password, *server, *domain, *resource;
|
||||
XMPPJID *JID;
|
||||
uint16_t port;
|
||||
id <XMPPConnectionDelegate, OFObject> delegate;
|
||||
|
@ -79,7 +79,7 @@
|
|||
}
|
||||
|
||||
#ifdef OF_HAVE_PROPERTIES
|
||||
@property (copy) OFString *username, *password, *server, *resource;
|
||||
@property (copy) OFString *username, *password, *server, *domain, *resource;
|
||||
@property (copy, readonly) XMPPJID *JID;
|
||||
@property (assign) uint16_t port;
|
||||
@property (retain) id <XMPPConnectionDelegate> delegate;
|
||||
|
@ -139,6 +139,8 @@
|
|||
- (OFString*)password;
|
||||
- (void)setServer: (OFString*)server;
|
||||
- (OFString*)server;
|
||||
- (void)setDomain: (OFString*)domain;
|
||||
- (OFString*)domain;
|
||||
- (void)setResource: (OFString*)resource;
|
||||
- (OFString*)resource;
|
||||
- (XMPPJID*)JID;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue