JMOpenSession
Instantiates a Java runtime session and returns a session pointer.
OSStatus JMOpenSession (
JMSessionRef* session,
const JMSecurityOptions* security,
const JMSessionCallbacks* callbacks,
JMClientData data);
session
- A pointer to a Java runtime session. On return this parameter is the allocated session.
security
- A pointer to a security options structure. See "Session Security Options Structure" (page 11) for more information.
callbacks
- A pointer to a session callbacks structure. See "Session Callbacks Structure" (page 10) for more information.
data
- Any optional client-specific data.
- function result
- A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
A valid session pointer has a value other than null. If not enough system memory exists to instantiate a session, JMOpenSession returns memFullErr.
SEE ALSO
The JMCloseSession function (page 22).