Package tigase.server.xmppsession
Class SMResourceConnection
java.lang.Object
tigase.xmpp.RepositoryAccess
tigase.xmpp.XMPPResourceConnection
tigase.server.xmppsession.SMResourceConnection
Created: Feb 27, 2010 8:02:11 PM
- Author:
- Artur Hefczyc
-
Field Summary
Fields inherited from class tigase.xmpp.XMPPResourceConnection
ALL_RESOURCES_CAPS_KEY, ALL_RESOURCES_KEY, ALL_RESOURCES_PRIORITY_KEY, AUTHENTICATION_TIMEOUT_KEY, CLOSING_KEY, CONNECTION_CHECK_TIMESTAMP_KEY, ERROR_ELEMENT_KEY, ERROR_KEY, PRESENCE_KEYFields inherited from class tigase.xmpp.RepositoryAccess
authRepo, authState, domain, is_anonymous, NO_ACCESS_TO_REP_MSG, NOT_AUTHORIZED_MSG -
Constructor Summary
ConstructorsConstructorDescriptionSMResourceConnection(JID connectionId, UserRepository rep, AuthRepository authRepo, SessionManagerHandler loginHandler) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns information whether this is a server (SessionManager) session or normal user session.booleanMethods inherited from class tigase.xmpp.XMPPResourceConnection
authorizeJID, computeCommonSessionDataIfAbsent, computeSessionDataIfAbsent, getActiveSessions, getAllResourcesJIDs, getAuthRepository, getAuthTime, getBareJID, getCommonSessionData, getConnectionId, getConnectionId, getConnectionId, getCreationTime, getDefLang, getjid, getJID, getLastAccessed, getPacketsCounter, getParentSession, getPresence, getPriority, getResource, getSessionData, getSessionId, getSMComponentId, getUserName, incPacketsCounter, isAuthorized, isEncrypted, isLocalDomain, isResourceSet, isTlsRequired, isTmpSession, login, logout, nextStanzaId, putCommonSessionData, putCommonSessionDataIfAbsent, putSessionData, putSessionDataIfAbsent, queryAuth, removeCommonSessionData, removeParentSession, removeSessionData, setConnectionId, setDefLang, setLastAccessed, setParentSession, setPresence, setPriority, setResource, setSessionId, setTmpSession, streamClosed, toString, unregisterMethods inherited from class tigase.xmpp.RepositoryAccess
addDataList, addOfflineDataList, addPublicDataList, changeRegistration, getAuthenticationToken, getAuthState, getData, getDataGroups, getDataKeys, getDataList, getDomain, getDomainAsJID, getOfflineData, getOfflineDataList, getPublicData, getPublicDataList, isAnonymous, removeData, removeDataGroup, removeOfflineData, removeOfflineDataGroup, removePublicData, removePublicDataGroup, setData, setDataList, setDomain, setOfflineData, setOfflineDataList, setPublicData, setPublicDataList, setRegistration
-
Constructor Details
-
SMResourceConnection
public SMResourceConnection(JID connectionId, UserRepository rep, AuthRepository authRepo, SessionManagerHandler loginHandler)
-
-
Method Details
-
isServerSession
public boolean isServerSession()Description copied from class:XMPPResourceConnectionReturns information whether this is a server (SessionManager) session or normal user session. The server session is used to handle packets addressed to the server itself (local domain name).- Overrides:
isServerSessionin classXMPPResourceConnection- Returns:
- a
booleanvalue oftrueif this is the server session andfalseotherwise.
-
isUserId
- Overrides:
isUserIdin classXMPPResourceConnection
-