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

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

public class JccConnectionEventLocal
extends JccCallEventLocal
implements javax.csapi.cc.jcc.JccConnectionEvent

Wraps JccConnectionEvent 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.JccConnectionEvent
CONNECTION_ADDRESS_ANALYZE, CONNECTION_ADDRESS_COLLECT, CONNECTION_ALERTING, CONNECTION_AUTHORIZE_CALL_ATTEMPT, CONNECTION_CALL_DELIVERY, CONNECTION_CONNECTED, CONNECTION_CREATED, CONNECTION_DISCONNECTED, CONNECTION_FAILED, CONNECTION_MID_CALL
 
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
JccConnectionEventLocal(JccConnectionLocal connection, int id, int cause, java.lang.Object source, JccCallLocal call)
          Creates a new instance of JccCallEventLocal
 
Method Summary
 javax.csapi.cc.jcc.JccConnection getConnection()
          (Non-Javadoc)
 
Methods inherited from class org.mobicents.slee.resource.jcc.local.JccCallEventLocal
getCall, getCause, getID, getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.csapi.cc.jcc.JccCallEvent
getCall
 
Methods inherited from interface javax.csapi.cc.jcc.JccEvent
getCause, getID, getSource
 

Constructor Detail

JccConnectionEventLocal

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

Method Detail

getConnection

public javax.csapi.cc.jcc.JccConnection getConnection()
(Non-Javadoc)

Specified by:
getConnection in interface javax.csapi.cc.jcc.JccConnectionEvent
See Also:
JccConnectionEvent.getConnection()


Copyright © 2009. All Rights Reserved.