Novell exteNd Messaging Platform 5.2

com.sssw.jbroker.api.session
Interface SessionCurrent

All Superinterfaces:
Object

public interface SessionCurrent
extends Object

Support for getting/setting Session Ids.


Method Summary
 byte[] getSessionId()
          Get the session Id for this thread.
 void setORBSessionId(byte[] sessionId)
          Set the session id at the ORB Level.
 void setSessionId(byte[] sessionId)
          Set the session id for this thread.
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Method Detail

setORBSessionId

public void setORBSessionId(byte[] sessionId)
Set the session id at the ORB Level. This will be the session Id for all threads using the ORB that do not have a thread level session Id set.

This API is for the end clients that may want to start off multiple threads under the same session.


setSessionId

public void setSessionId(byte[] sessionId)
Set the session id for this thread. To unset the session Id, set the session id to null.


getSessionId

public byte[] getSessionId()
Get the session Id for this thread. If there is no thread level session Id, then ORB level session Id is returned.


Novell exteNd Messaging Platform 5.2

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.