Package com.microstrategy.webapi
Class ACMAffinityErrorHandler
- java.lang.Object
 - 
- com.microstrategy.webapi.ACMAffinityErrorHandler
 
 
- 
public class ACMAffinityErrorHandler extends java.lang.Object 
- 
- 
Constructor Summary
Constructors Constructor Description ACMAffinityErrorHandler() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IDSSXMLSessionId.IProjectSessionIdgetAffinityProjectSession(java.lang.String sessionID, IDSSXMLSessionId.IConfigSessionId iConfigSidToAffinityServerName, com.microstrategy.webapi.CDSSXMLClusterNode iAffinityToServerNode, java.lang.String iPid)This function is to handle user affinity error code returning from Intelligence Server when signing into a project. 
 - 
 
- 
- 
Method Detail
- 
getAffinityProjectSession
public static IDSSXMLSessionId.IProjectSessionId getAffinityProjectSession(java.lang.String sessionID, IDSSXMLSessionId.IConfigSessionId iConfigSidToAffinityServerName, com.microstrategy.webapi.CDSSXMLClusterNode iAffinityToServerNode, java.lang.String iPid) throws MSTRWebAPIException
This function is to handle user affinity error code returning from Intelligence Server when signing into a project. The error message for user affinity error code looks like (Please login to the following server to reduce synchronization needs: servername" It then constructs a project session using the configuration session obtained above and put the project session in the map- Parameters:
 sessionID- - the master session id to create the project sessioniConfigSidToAffinityServerName- - the configuration session on the node obtained from the user affinity error messageiAffinityToServerNode- - the node obtained from the user affinity error messageiPid- - the project GUID to create the project session for- Returns:
 - IDSSXMLSessionId.IProjectSessionId - the project session for the node and the project GUID
 - Throws:
 MSTRWebAPIException
 
 - 
 
 -