Resource Property
This is the resource for the current session.
Syntax
ANSI (Cross Platform) char* GetResource();
int SetResource(const char* lpszResource); Unicode (Windows) LPWSTR GetResource();
INT SetResource(LPCWSTR lpszResource);
@property (nonatomic,readwrite,assign,getter=resource,setter=setResource:) NSString* resource; - (NSString*)resource; - (void)setResource:(NSString*)newResource;
#define PID_XMPP_RESOURCE 29 IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_XMPP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_XMPP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
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.
Data Type
String