obtains the serversession associated with a given userid or sessionid . it concode_field_sep BayeuxServer bayeux concode_elem_sep ServerSession controllerServerSession concode_elem_sep ConcurrentHashMap<String,ServerSession> userSessionMap concode_elem_sep Logger LOGGER concode_elem_sep PersistentStore persistentStore concode_elem_sep EventAdmin eventAdmin concode_elem_sep java.lang.String EVENT_TOPIC_CANCEL concode_elem_sep ExecutorService executorService concode_field_sep void queuePersistedMessages concode_elem_sep String getControllerRootTopic concode_elem_sep ServerSession getSessionByUserId concode_elem_sep void deregisterUserSession concode_elem_sep void registerUserSession concode_elem_sep ServerSession getSessionBySessionId concode_elem_sep void adminCancelDownload concode_elem_sep String getUserId
ServerSession function ( String arg0 , String arg1 ) { ServerSession loc0 = null ; if ( arg0 != null ) { loc0 = getSessionByUserId ( arg0 ) ; } if ( loc0 == null && arg1 != null ) { loc0 = getSessionBySessionId ( arg1 ) ; } return loc0 ; }