org.mobicents.slee.resource.jcc.ra
Class JccResourceAdaptor
java.lang.Object
org.mobicents.slee.resource.jcc.ra.JccResourceAdaptor
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, javax.csapi.cc.jcc.JccCallListener, javax.csapi.cc.jcc.JccConnectionListener, javax.slee.resource.ResourceAdaptor
public class JccResourceAdaptor
- extends java.lang.Object
- implements javax.slee.resource.ResourceAdaptor, java.io.Serializable, javax.csapi.cc.jcc.JccConnectionListener
- Author:
- Oleg Kulikov, Pavel Mitrenko, baranowb
- See Also:
- Serialized Form
|
Field Summary |
static int |
DEFAULT_EVENT_FLAGS
for all events we are interested in knowing when the event failed to be
processed |
|
Method Summary |
void |
activityEnded(javax.slee.resource.ActivityHandle handle)
|
void |
activityUnreferenced(javax.slee.resource.ActivityHandle arg0)
|
void |
administrativeRemove(javax.slee.resource.ActivityHandle arg0)
|
void |
callActive(javax.csapi.cc.jcc.JccCallEvent event)
|
void |
callCreated(javax.csapi.cc.jcc.JccCallEvent event)
|
void |
callEventTransmissionEnded(javax.csapi.cc.jcc.JccCallEvent event)
|
void |
callInvalid(javax.csapi.cc.jcc.JccCallEvent event)
|
void |
callSuperviseEnd(javax.csapi.cc.jcc.JccCallEvent event)
|
void |
callSuperviseStart(javax.csapi.cc.jcc.JccCallEvent event)
|
void |
connectionAddressAnalyze(javax.csapi.cc.jcc.JccConnectionEvent event)
|
void |
connectionAddressCollect(javax.csapi.cc.jcc.JccConnectionEvent event)
|
void |
connectionAlerting(javax.csapi.cc.jcc.JccConnectionEvent event)
|
void |
connectionAuthorizeCallAttempt(javax.csapi.cc.jcc.JccConnectionEvent event)
|
void |
connectionCallDelivery(javax.csapi.cc.jcc.JccConnectionEvent event)
|
void |
connectionConnected(javax.csapi.cc.jcc.JccConnectionEvent event)
|
void |
connectionCreated(javax.csapi.cc.jcc.JccConnectionEvent event)
|
void |
connectionDisconnected(javax.csapi.cc.jcc.JccConnectionEvent event)
|
void |
connectionFailed(javax.csapi.cc.jcc.JccConnectionEvent event)
|
void |
connectionMidCall(javax.csapi.cc.jcc.JccConnectionEvent event)
|
void |
eventProcessingFailed(javax.slee.resource.ActivityHandle arg0,
javax.slee.resource.FireableEventType arg1,
java.lang.Object arg2,
javax.slee.Address arg3,
javax.slee.resource.ReceivableService arg4,
int arg5,
javax.slee.resource.FailureReason arg6)
|
void |
eventProcessingSuccessful(javax.slee.resource.ActivityHandle arg0,
javax.slee.resource.FireableEventType arg1,
java.lang.Object arg2,
javax.slee.Address arg3,
javax.slee.resource.ReceivableService arg4,
int arg5)
|
void |
eventUnreferenced(javax.slee.resource.ActivityHandle arg0,
javax.slee.resource.FireableEventType arg1,
java.lang.Object arg2,
javax.slee.Address arg3,
javax.slee.resource.ReceivableService arg4,
int arg5)
|
java.lang.Object |
getActivity(javax.slee.resource.ActivityHandle handle)
|
javax.slee.resource.ActivityHandle |
getActivityHandle(java.lang.Object obj)
|
java.lang.String |
getConfigName()
|
java.lang.String |
getJccPeer()
|
javax.slee.resource.Marshaler |
getMarshaler()
|
java.lang.Object |
getResourceAdaptorInterface(java.lang.String arg0)
|
void |
queryLiveness(javax.slee.resource.ActivityHandle activityHandle)
|
void |
raActive()
|
void |
raConfigurationUpdate(javax.slee.resource.ConfigProperties arg0)
|
void |
raConfigure(javax.slee.resource.ConfigProperties cps)
|
void |
raInactive()
|
void |
raStopping()
|
void |
raUnconfigure()
|
void |
raVerifyConfiguration(javax.slee.resource.ConfigProperties cps)
|
void |
serviceActive(javax.slee.resource.ReceivableService arg0)
|
void |
serviceInactive(javax.slee.resource.ReceivableService arg0)
|
void |
serviceStopping(javax.slee.resource.ReceivableService arg0)
|
void |
setConfigName(java.lang.String configName)
|
void |
setJccPeer(java.lang.String jccPeer)
|
void |
setResourceAdaptorContext(javax.slee.resource.ResourceAdaptorContext raContext)
|
void |
unsetResourceAdaptorContext()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_EVENT_FLAGS
public static final int DEFAULT_EVENT_FLAGS
- for all events we are interested in knowing when the event failed to be
processed
- See Also:
- Constant Field Values
JccResourceAdaptor
public JccResourceAdaptor()
- Creates a new instance of JccResourceAdaptor
getJccPeer
public java.lang.String getJccPeer()
setJccPeer
public void setJccPeer(java.lang.String jccPeer)
getConfigName
public java.lang.String getConfigName()
setConfigName
public void setConfigName(java.lang.String configName)
administrativeRemove
public void administrativeRemove(javax.slee.resource.ActivityHandle arg0)
- Specified by:
administrativeRemove in interface javax.slee.resource.ResourceAdaptor
eventProcessingFailed
public void eventProcessingFailed(javax.slee.resource.ActivityHandle arg0,
javax.slee.resource.FireableEventType arg1,
java.lang.Object arg2,
javax.slee.Address arg3,
javax.slee.resource.ReceivableService arg4,
int arg5,
javax.slee.resource.FailureReason arg6)
- Specified by:
eventProcessingFailed in interface javax.slee.resource.ResourceAdaptor
eventProcessingSuccessful
public void eventProcessingSuccessful(javax.slee.resource.ActivityHandle arg0,
javax.slee.resource.FireableEventType arg1,
java.lang.Object arg2,
javax.slee.Address arg3,
javax.slee.resource.ReceivableService arg4,
int arg5)
- Specified by:
eventProcessingSuccessful in interface javax.slee.resource.ResourceAdaptor
eventUnreferenced
public void eventUnreferenced(javax.slee.resource.ActivityHandle arg0,
javax.slee.resource.FireableEventType arg1,
java.lang.Object arg2,
javax.slee.Address arg3,
javax.slee.resource.ReceivableService arg4,
int arg5)
- Specified by:
eventUnreferenced in interface javax.slee.resource.ResourceAdaptor
getResourceAdaptorInterface
public java.lang.Object getResourceAdaptorInterface(java.lang.String arg0)
- Specified by:
getResourceAdaptorInterface in interface javax.slee.resource.ResourceAdaptor
raConfigure
public void raConfigure(javax.slee.resource.ConfigProperties cps)
- Specified by:
raConfigure in interface javax.slee.resource.ResourceAdaptor
raVerifyConfiguration
public void raVerifyConfiguration(javax.slee.resource.ConfigProperties cps)
throws javax.slee.resource.InvalidConfigurationException
- Specified by:
raVerifyConfiguration in interface javax.slee.resource.ResourceAdaptor
- Throws:
javax.slee.resource.InvalidConfigurationException
raActive
public void raActive()
- Specified by:
raActive in interface javax.slee.resource.ResourceAdaptor
raConfigurationUpdate
public void raConfigurationUpdate(javax.slee.resource.ConfigProperties arg0)
- Specified by:
raConfigurationUpdate in interface javax.slee.resource.ResourceAdaptor
raStopping
public void raStopping()
- Specified by:
raStopping in interface javax.slee.resource.ResourceAdaptor
raInactive
public void raInactive()
- Specified by:
raInactive in interface javax.slee.resource.ResourceAdaptor
raUnconfigure
public void raUnconfigure()
- Specified by:
raUnconfigure in interface javax.slee.resource.ResourceAdaptor
serviceActive
public void serviceActive(javax.slee.resource.ReceivableService arg0)
- Specified by:
serviceActive in interface javax.slee.resource.ResourceAdaptor
serviceInactive
public void serviceInactive(javax.slee.resource.ReceivableService arg0)
- Specified by:
serviceInactive in interface javax.slee.resource.ResourceAdaptor
serviceStopping
public void serviceStopping(javax.slee.resource.ReceivableService arg0)
- Specified by:
serviceStopping in interface javax.slee.resource.ResourceAdaptor
setResourceAdaptorContext
public void setResourceAdaptorContext(javax.slee.resource.ResourceAdaptorContext raContext)
- Specified by:
setResourceAdaptorContext in interface javax.slee.resource.ResourceAdaptor
unsetResourceAdaptorContext
public void unsetResourceAdaptorContext()
- Specified by:
unsetResourceAdaptorContext in interface javax.slee.resource.ResourceAdaptor
activityEnded
public void activityEnded(javax.slee.resource.ActivityHandle handle)
- Specified by:
activityEnded in interface javax.slee.resource.ResourceAdaptor
activityUnreferenced
public void activityUnreferenced(javax.slee.resource.ActivityHandle arg0)
- Specified by:
activityUnreferenced in interface javax.slee.resource.ResourceAdaptor
getActivity
public java.lang.Object getActivity(javax.slee.resource.ActivityHandle handle)
- Specified by:
getActivity in interface javax.slee.resource.ResourceAdaptor
getActivityHandle
public javax.slee.resource.ActivityHandle getActivityHandle(java.lang.Object obj)
- Specified by:
getActivityHandle in interface javax.slee.resource.ResourceAdaptor
getMarshaler
public javax.slee.resource.Marshaler getMarshaler()
- Specified by:
getMarshaler in interface javax.slee.resource.ResourceAdaptor
queryLiveness
public void queryLiveness(javax.slee.resource.ActivityHandle activityHandle)
- Specified by:
queryLiveness in interface javax.slee.resource.ResourceAdaptor
callActive
public void callActive(javax.csapi.cc.jcc.JccCallEvent event)
- Specified by:
callActive in interface javax.csapi.cc.jcc.JccCallListener
callCreated
public void callCreated(javax.csapi.cc.jcc.JccCallEvent event)
- Specified by:
callCreated in interface javax.csapi.cc.jcc.JccCallListener
callEventTransmissionEnded
public void callEventTransmissionEnded(javax.csapi.cc.jcc.JccCallEvent event)
- Specified by:
callEventTransmissionEnded in interface javax.csapi.cc.jcc.JccCallListener
callInvalid
public void callInvalid(javax.csapi.cc.jcc.JccCallEvent event)
- Specified by:
callInvalid in interface javax.csapi.cc.jcc.JccCallListener
callSuperviseEnd
public void callSuperviseEnd(javax.csapi.cc.jcc.JccCallEvent event)
- Specified by:
callSuperviseEnd in interface javax.csapi.cc.jcc.JccCallListener
callSuperviseStart
public void callSuperviseStart(javax.csapi.cc.jcc.JccCallEvent event)
- Specified by:
callSuperviseStart in interface javax.csapi.cc.jcc.JccCallListener
connectionAddressAnalyze
public void connectionAddressAnalyze(javax.csapi.cc.jcc.JccConnectionEvent event)
- Specified by:
connectionAddressAnalyze in interface javax.csapi.cc.jcc.JccConnectionListener
connectionAddressCollect
public void connectionAddressCollect(javax.csapi.cc.jcc.JccConnectionEvent event)
- Specified by:
connectionAddressCollect in interface javax.csapi.cc.jcc.JccConnectionListener
connectionAlerting
public void connectionAlerting(javax.csapi.cc.jcc.JccConnectionEvent event)
- Specified by:
connectionAlerting in interface javax.csapi.cc.jcc.JccConnectionListener
connectionAuthorizeCallAttempt
public void connectionAuthorizeCallAttempt(javax.csapi.cc.jcc.JccConnectionEvent event)
- Specified by:
connectionAuthorizeCallAttempt in interface javax.csapi.cc.jcc.JccConnectionListener
connectionCallDelivery
public void connectionCallDelivery(javax.csapi.cc.jcc.JccConnectionEvent event)
- Specified by:
connectionCallDelivery in interface javax.csapi.cc.jcc.JccConnectionListener
connectionConnected
public void connectionConnected(javax.csapi.cc.jcc.JccConnectionEvent event)
- Specified by:
connectionConnected in interface javax.csapi.cc.jcc.JccConnectionListener
connectionCreated
public void connectionCreated(javax.csapi.cc.jcc.JccConnectionEvent event)
- Specified by:
connectionCreated in interface javax.csapi.cc.jcc.JccConnectionListener
connectionDisconnected
public void connectionDisconnected(javax.csapi.cc.jcc.JccConnectionEvent event)
- Specified by:
connectionDisconnected in interface javax.csapi.cc.jcc.JccConnectionListener
connectionFailed
public void connectionFailed(javax.csapi.cc.jcc.JccConnectionEvent event)
- Specified by:
connectionFailed in interface javax.csapi.cc.jcc.JccConnectionListener
connectionMidCall
public void connectionMidCall(javax.csapi.cc.jcc.JccConnectionEvent event)
- Specified by:
connectionMidCall in interface javax.csapi.cc.jcc.JccConnectionListener
Copyright © 2012. All Rights Reserved.