com.ibm.presence.api.authorization
Class AuthorizationData
java.lang.Object
com.ibm.presence.api.authorization.AuthorizationData
- All Implemented Interfaces:
- java.io.Serializable
public class AuthorizationData
- extends java.lang.Object
- implements java.io.Serializable
The AuthorizationData class contains data needed for authorization.
The Presence Server invokes AuthorizationService methods with this data object.
The same object should return to AuthorizationRulesListener to recognize the subscription.
- See Also:
AuthorizationService
,
AuthorizationRules
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_fromPresentity
private Presence _fromPresentity
_toPresentity
private Presence _toPresentity
_presenceType
private java.lang.String _presenceType
_sessionId
private java.lang.String _sessionId
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
AuthorizationData
public AuthorizationData(Presence from,
Presence to,
java.lang.String type,
java.lang.String sessionId)
- Constructs AuthorizationData object
getFromPresentity
public Presence getFromPresentity()
- Returns:
- Returns the _fromPresentity.
getSessionId
public java.lang.String getSessionId()
- Returns:
- Returns the _sessionId.
getToPresentity
public Presence getToPresentity()
- Returns:
- Returns the _toPresentity.
getPresenceType
public java.lang.String getPresenceType()
- Returns:
- Returns the _presenceType.
Copyright © 2007 IBM Corp. All Rights Reserved.