Class InetAccountingEvent
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.kernel.event.common.Event
ru.bitel.bgbilling.kernel.event.common.PoolEvent
ru.bitel.bgbilling.apps.inet.accounting.event.InetAccountingEvent
- All Implemented Interfaces:
 Serializable
public class InetAccountingEvent
extends ru.bitel.bgbilling.kernel.event.common.PoolEvent
Событие о состоянии сессии. Приходит всем серверам, за исключением того, кто его отправил
AccountingSession start|stop. Генерируется для RADIUS/DHCP сессий. Update генерируется также по RADIUS/DHCP-пакету.
AccountingSession start|stop. Генерируется для RADIUS/DHCP сессий. Update генерируется также по RADIUS/DHCP-пакету.
- See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class ru.bitel.bgbilling.kernel.event.common.Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInetAccountingEvent(PoolEventPublisher<?> publisher, int contractId, InetConnection connection, long sessionId, int type, Date accountingTime) InetAccountingEvent(PoolEventPublisher<?> publisher, int contractId, InetConnection connection, long sessionId, int type, Map<Integer, AccountingTrafficAmount> counterTraffics, Date accountingTime)  - 
Method Summary
Modifier and TypeMethodDescriptionlongintgetType()voidprepareMessage(javax.jms.Message message) protected voidMethods 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, toStringMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, 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
- 
InetAccountingEvent
protected InetAccountingEvent() - 
InetAccountingEvent
public InetAccountingEvent(PoolEventPublisher<?> publisher, int contractId, InetConnection connection, long sessionId, int type, Date accountingTime)  - 
InetAccountingEvent
public InetAccountingEvent(PoolEventPublisher<?> publisher, int contractId, InetConnection connection, long sessionId, int type, Map<Integer, AccountingTrafficAmount> counterTraffics, Date accountingTime)  
 - 
 - 
Method Details
- 
prepareMessage
public void prepareMessage(javax.jms.Message message) throws javax.jms.JMSException - Overrides:
 prepareMessagein classru.bitel.bgbilling.kernel.event.common.Event- Throws:
 javax.jms.JMSException
 - 
getConnection
 - 
getSessionId
public long getSessionId() - 
getType
public int getType() - 
getCounterTraffics
 - 
getAccountingTime
 - 
toString
- Overrides:
 toStringin classru.bitel.bgbilling.kernel.event.common.Event
 
 -