org.mobicents.slee.resource.jcc.local
Class JccCallEventLocal

java.lang.Object
  extended by org.mobicents.slee.resource.jcc.local.JccCallEventLocal
All Implemented Interfaces:
javax.csapi.cc.jcc.JccCallEvent, javax.csapi.cc.jcc.JccEvent
Direct Known Subclasses:
JccConnectionEventLocal

public class JccCallEventLocal
extends java.lang.Object
implements javax.csapi.cc.jcc.JccCallEvent

Wraps JccCallEvent to disallow addConnectionListener, addCallListener methods. When a disallowed method is invoked, the resource adaptor entity throws a SecurityException.

Author:
Oleg Kulikov, Pavel Mitrenko

Field Summary
 
Fields inherited from interface javax.csapi.cc.jcc.JccCallEvent
CALL_ACTIVE, CALL_CREATED, CALL_EVENT_TRANSMISSION_ENDED, CALL_INVALID, CALL_SUPERVISE_END, CALL_SUPERVISE_START
 
Fields inherited from interface javax.csapi.cc.jcc.JccEvent
CAUSE_BUSY, CAUSE_CALL_CANCELLED, CAUSE_CALL_RESTRICTED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_GENERAL_FAILURE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_MORE_DIGITS_NEEDED, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NO_ANSWER, CAUSE_NORMAL, CAUSE_REDIRECTED, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_TIMER_EXPIRY, CAUSE_UNKNOWN, CAUSE_USER_NOT_AVAILABLE
 
Constructor Summary
JccCallEventLocal(int id, int cause, java.lang.Object source, JccCallLocal call)
          Creates a new instance of JccCallEventLocal
 
Method Summary
 javax.csapi.cc.jcc.JccCall getCall()
          (Non-Javadoc)
 int getCause()
          (Non-Javadoc)
 int getID()
          (Non-Javadoc)
 java.lang.Object getSource()
          (Non-Javadoc)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JccCallEventLocal

public JccCallEventLocal(int id,
                         int cause,
                         java.lang.Object source,
                         JccCallLocal call)
Creates a new instance of JccCallEventLocal

Method Detail

getCall

public javax.csapi.cc.jcc.JccCall getCall()
(Non-Javadoc)

Specified by:
getCall in interface javax.csapi.cc.jcc.JccCallEvent
See Also:
JccCallEvent.getCall()

getCause

public int getCause()
(Non-Javadoc)

Specified by:
getCause in interface javax.csapi.cc.jcc.JccEvent
See Also:
JccEvent.getCause()

getID

public int getID()
(Non-Javadoc)

Specified by:
getID in interface javax.csapi.cc.jcc.JccEvent
See Also:
JccEvent.getID()

getSource

public java.lang.Object getSource()
(Non-Javadoc)

Specified by:
getSource in interface javax.csapi.cc.jcc.JccEvent
See Also:
JccEvent.getSource()


Copyright © 2008. All Rights Reserved.