hp.opencall.media.ccapi
Class RedirectElement

java.lang.Object
  extended byhp.opencall.media.ccapi.RedirectElement
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ISDNRedirectElement

public class RedirectElement
extends Object
implements Serializable

information element about a redirected call

See Also:
Serialized Form

Constructor Summary
RedirectElement(SignallingParty aParty, String aReason)
           
 
Method Summary
 SignallingParty getNumber()
          The redirected signalling party
 String getReason()
          Indicates the human readable reason for the redirection
 String toString()
          Display the address + the redirect reason
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RedirectElement

public RedirectElement(SignallingParty aParty,
                       String aReason)
Parameters:
aParty - The called party
aReason - The human redirected reason for the redirection
Method Detail

getReason

public String getReason()
Indicates the human readable reason for the redirection

Returns:
java.lang.String

getNumber

public SignallingParty getNumber()
The redirected signalling party

Returns:
The redirected number

toString

public String toString()
Display the address + the redirect reason

Returns:
java.lang.String