WmContext *con
- Client Context(Either WM_SYNC_CONTEXT or WM_TRAN_CONTEXT).
const char *host
- Server endpoint in the form:host:port.
const char *user
- User to connect as
const char *pass
- User's password.
jint
- Return 1 if success and 0 otherwise.