resource (property)
This is the resource for the current session.
Syntax
@property (nonatomic,readwrite,assign,getter=resource,setter=setResource:) NSString* resource; - (NSString*)resource; - (void)setResource:(NSString*)newResource;
public var resource: String { get {...}
set {...} }
Default Value
"IPWorks XMPP Agent"
Remarks
Whenever an entity logs in to an XMPP (Jabber) server, it must provide account information as well as a resource. Resources allow multiple clients to log in using the same account. The server will forward all messages and PI data aimed at a specific resource to that resource. If a command or message is to be sent to a Jabber ID with no specified resource, the server will push that command or message out to all connected resources.