public class SMResourceConnection extends XMPPResourceConnection
ALL_RESOURCES_CAPS_KEY, ALL_RESOURCES_KEY, ALL_RESOURCES_PRIORITY_KEY, AUTHENTICATION_TIMEOUT_KEY, CLOSING_KEY, ERROR_KEY, PRESENCE_KEY
authRepo, authState, domain, is_anonymous, NO_ACCESS_TO_REP_MSG, NOT_AUTHORIZED_MSG
Constructor and Description |
---|
SMResourceConnection(tigase.xmpp.JID connectionId,
UserRepository rep,
AuthRepository authRepo,
SessionManagerHandler loginHandler)
Constructs ...
|
Modifier and Type | Method and Description |
---|---|
boolean |
isServerSession()
Returns information whether this is a server (SessionManager) session or normal user
session.
|
boolean |
isUserId(tigase.xmpp.BareJID bareJID)
Method description
|
authorizeJID, getActiveSessions, getAllResourcesJIDs, getAuthRepository, getAuthTime, getBareJID, getCommonSessionData, getConnectionId, getConnectionId, getCreationTime, getDefLang, getjid, getJID, getLastAccessed, getPacketsCounter, getParentSession, getPresence, getPriority, getResource, getSessionData, getSessionId, getSMComponentId, getUserId, getUserName, incPacketsCounter, isAuthorized, isEncrypted, isLocalDomain, isResourceSet, isTlsRequired, isTmpSession, login, loginDigest, loginOther, loginPlain, logout, nextStanzaId, putCommonSessionData, putSessionData, queryAuth, removeCommonSessionData, removeParentSession, removeSessionData, setConnectionId, setDefLang, setLastAccessed, setParentSession, setPresence, setPriority, setResource, setSessionId, setTmpSession, streamClosed, toString, unregister
addDataList, addOfflineDataList, addPublicDataList, getAuthenticationToken, getAuthState, getData, getDataGroups, getDataKeys, getDataList, getDomain, getDomainAsJID, getOfflineData, getOfflineDataList, getPublicData, getPublicDataList, isAnonymous, loginDigest, loginPlain, loginToken, register, register, removeData, removeDataGroup, removeOfflineData, removeOfflineDataGroup, removePublicData, removePublicDataGroup, setData, setDataList, setDomain, setOfflineData, setOfflineDataList, setPublicData, setPublicDataList
public SMResourceConnection(tigase.xmpp.JID connectionId, UserRepository rep, AuthRepository authRepo, SessionManagerHandler loginHandler)
connectionId
- rep
- authRepo
- loginHandler
- public boolean isServerSession()
isServerSession
in class XMPPResourceConnection
boolean
value of true
if this is the server session
and false
otherwise.public boolean isUserId(tigase.xmpp.BareJID bareJID)
isUserId
in class XMPPResourceConnection
bareJID
- boolean
Copyright © 2014 "Tigase, Inc.". All rights reserved.