org.mobicents.slee.sippresence.server.publication
Class PresenceCompositionPolicy

java.lang.Object
  extended by org.mobicents.slee.sippresence.server.publication.PresenceCompositionPolicy
All Implemented Interfaces:
StateComposer

public class PresenceCompositionPolicy
extends java.lang.Object
implements StateComposer


Constructor Summary
PresenceCompositionPolicy()
           
 
Method Summary
 java.lang.Object compose(java.lang.Object state1, java.lang.Object state2)
           
 Presence compose(Presence presence, Presence otherPresence)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PresenceCompositionPolicy

public PresenceCompositionPolicy()
Method Detail

compose

public java.lang.Object compose(java.lang.Object state1,
                                java.lang.Object state2)
Specified by:
compose in interface StateComposer

compose

public Presence compose(Presence presence,
                        Presence otherPresence)
Parameters:
presence - the new state to add to the composition
otherPresence - the current presence composition state
Returns:


Copyright © 2010. All Rights Reserved.