user

traceLevels

public final byte[] traceLevels

The trace levels of the subsystems Communication, Connector, EndPoint, API.
The values are initially set to -1 indicating it used the
default trace setting. The range of the trace is 0-3, or -1
for default.

isSecure

The secure flag. Please note that if the server is behind a proxy, the connection
might be secure anyway.

assignThread

public boolean assignThread()

Temporarily assigns a SessionInfo object to a thread.

This call is intended to be used with threads in thread-pools.

It is very important to clean-up with a "fails-safe" try-finally or similar to
call the unassignThread() method. This is needed EVEN if the thread
will not be used for other purposes. Failure in doing so will cause a memory leak until
this instance of SessionInfo is disposed of. It is ALSO very important to check
the return code whether to call SessionInfo.unassignThread() or not.

Returns:

true for successfully assigned and that a call to SessionInfo.unassignThread()
in the try-finally clause MUST be done, false if already assigned and
SessionInfo.unassignThread()SHOULD NOT be called.