org.mobicents.slee.resource.sip11.wrappers
Class ClientDialogForkHandler

java.lang.Object
  extended by org.mobicents.slee.resource.sip11.wrappers.ClientDialogForkHandler
All Implemented Interfaces:
java.io.Serializable

public class ClientDialogForkHandler
extends java.lang.Object
implements java.io.Serializable

Author:
martins
See Also:
Serialized Form

Constructor Summary
ClientDialogForkHandler()
           
ClientDialogForkHandler(DialogWithoutIdActivityHandle master)
           
 
Method Summary
 void addFork(SipResourceAdaptor ra, DialogWithoutIdActivityHandle fork)
           
 void forkConfirmed(SipResourceAdaptor ra, ClientDialogWrapper original, ClientDialogWrapper fork)
          Indicates that the fork with the specified remote tag was confirmed.
 DialogWithoutIdActivityHandle getFork(java.lang.String remoteTag)
           
 DialogWithoutIdActivityHandle getForkWinner()
           
 DialogWithoutIdActivityHandle getMaster()
           
 boolean isForking()
           
 void terminate(SipResourceAdaptor ra)
          Indicates the forking ended, either by the original dialog get confirmed or by error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientDialogForkHandler

public ClientDialogForkHandler()

ClientDialogForkHandler

public ClientDialogForkHandler(DialogWithoutIdActivityHandle master)
Method Detail

getMaster

public DialogWithoutIdActivityHandle getMaster()
Returns:
the master

getForkWinner

public DialogWithoutIdActivityHandle getForkWinner()
Returns:
the forkWinner

addFork

public void addFork(SipResourceAdaptor ra,
                    DialogWithoutIdActivityHandle fork)

getFork

public DialogWithoutIdActivityHandle getFork(java.lang.String remoteTag)

forkConfirmed

public void forkConfirmed(SipResourceAdaptor ra,
                          ClientDialogWrapper original,
                          ClientDialogWrapper fork)
Indicates that the fork with the specified remote tag was confirmed. The related dialog must now be the "owner" of the wrapped dialog and the original dialog must be deleted.

Parameters:
ra -
original -
forkRemoteTag -

terminate

public void terminate(SipResourceAdaptor ra)
Indicates the forking ended, either by the original dialog get confirmed or by error. All forks will be deleted.

Parameters:
ra -

isForking

public boolean isForking()


Copyright © 2010. All Rights Reserved.