Class ServiceActivatorSet
java.lang.Object
java.util.concurrent.locks.ReentrantLock
ru.bitel.bgbilling.apps.inet.access.sa.ServiceActivatorSet
- All Implemented Interfaces:
 Serializable,Lock
Обертка вокруг набора ServiceActivator.
Метода init нет, так как туда передаются разные аргументы для каждого ServiceActivator.
Метода init нет, так как туда передаются разные аргументы для каждого ServiceActivator.
- See Also:
 
- 
Nested Class Summary
Nested Classes - 
Constructor Summary
ConstructorsConstructorDescriptionServiceActivatorSet(ServiceActivatorSet.ServiceActivatorHolder[] serviceActivators)  - 
Method Summary
Modifier and TypeMethodDescriptionconnect()booleanconnectionClose(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) booleanconnectionModify(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) voiddestroy()voidbooleanisAlive()booleanonAccountingStart(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) booleanonAccountingStop(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) booleanserviceCancel(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) booleanserviceCreate(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) booleanserviceModify(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) Methods inherited from class java.util.concurrent.locks.ReentrantLock
getHoldCount, getOwner, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock 
- 
Constructor Details
- 
ServiceActivatorSet
 
 - 
 - 
Method Details
- 
isAlive
public boolean isAlive() - 
destroy
public void destroy() - 
connect
- Throws:
 ru.bitel.bgbilling.common.BGException
 - 
disconnect
public void disconnect() throws ru.bitel.bgbilling.common.BGException- Throws:
 ru.bitel.bgbilling.common.BGException
 - 
connectionClose
public boolean connectionClose(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws Exception - Throws:
 Exception
 - 
connectionModify
public boolean connectionModify(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws Exception - Throws:
 Exception
 - 
onAccountingStart
public boolean onAccountingStart(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws Exception - Throws:
 Exception
 - 
onAccountingStop
public boolean onAccountingStop(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws Exception - Throws:
 Exception
 - 
serviceCancel
public boolean serviceCancel(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws Exception - Throws:
 Exception
 - 
serviceCreate
public boolean serviceCreate(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws Exception - Throws:
 Exception
 - 
serviceModify
public boolean serviceModify(ServiceActivatorDeviceWorker device, ServiceActivatorEvent event) throws Exception - Throws:
 Exception
 
 -