Class InetAccountingManagePoolEvent
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.kernel.event.common.Event
ru.bitel.bgbilling.kernel.event.common.QueueEvent
ru.bitel.bgbilling.kernel.event.common.PoolQueueEvent
ru.bitel.bgbilling.apps.inet.accounting.event.InetAccountingManagePoolEvent
- All Implemented Interfaces:
Serializable
public class InetAccountingManagePoolEvent
extends ru.bitel.bgbilling.kernel.event.common.PoolQueueEvent
Событие (команда) о том что нужно начать/остановить сессию.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from class ru.bitel.bgbilling.kernel.event.common.Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
-
Constructor Summary
ModifierConstructorDescriptionprotected
InetAccountingManagePoolEvent
(int moduleId, int contractId, int userId, int accountingRootDeviceId, InetConnection connection, int type) InetAccountingManagePoolEvent
(PoolEventPublisher<InetAccountingManagePoolEvent> publisher, int contractId, int userId, int accountingRootDeviceId, InetConnection connection, int type) -
Method Summary
Modifier and TypeMethodDescriptionint
getType()
void
prepareMessage
(javax.jms.Message message) void
setConnection
(InetConnection connection) protected void
Methods inherited from class ru.bitel.bgbilling.kernel.event.common.Event
getContractId, getDestination, getGenerateTime, getMessageID, getModuleId, getPluginId, getSource, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, serializeAsObject, setLogFunctionProcess, setMessageID, setSource, toString
Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
getLogger, logError
-
Field Details
-
TYPE_START
public static final int TYPE_START- See Also:
-
TYPE_STOP
public static final int TYPE_STOP- See Also:
-
TYPE_UPDATE
public static final int TYPE_UPDATE- See Also:
-
-
Constructor Details
-
InetAccountingManagePoolEvent
protected InetAccountingManagePoolEvent() -
InetAccountingManagePoolEvent
public InetAccountingManagePoolEvent(int moduleId, int contractId, int userId, int accountingRootDeviceId, InetConnection connection, int type) -
InetAccountingManagePoolEvent
public InetAccountingManagePoolEvent(PoolEventPublisher<InetAccountingManagePoolEvent> publisher, int contractId, int userId, int accountingRootDeviceId, InetConnection connection, int type)
-
-
Method Details
-
getConnection
-
setConnection
-
getType
public int getType() -
prepareMessage
public void prepareMessage(javax.jms.Message message) throws javax.jms.JMSException - Overrides:
prepareMessage
in classru.bitel.bgbilling.kernel.event.common.Event
- Throws:
javax.jms.JMSException
-
toString
- Overrides:
toString
in classru.bitel.bgbilling.kernel.event.common.Event
-