public class InetAccountingManageEvent extends QueueEvent
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_START |
static int |
TYPE_STOP |
static int |
TYPE_UPDATE |
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
Modifier | Constructor and Description |
---|---|
protected |
InetAccountingManageEvent() |
|
InetAccountingManageEvent(int moduleId,
int contractId,
int userId,
int accountingRootDeviceId,
InetConnection connection,
int type,
long timeout) |
Modifier and Type | Method and Description |
---|---|
InetConnection |
getConnection() |
long |
getTimeout() |
int |
getType() |
protected void |
prepareMessage(javax.jms.Message message) |
void |
setConnection(InetConnection connection) |
protected void |
toString(java.lang.StringBuilder sb) |
getContractId, getContractID, getDestination, getGenerateTime, getModuleId, getModuleID, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, serializeAsObject, setLogFunctionProcess, toString
public static final int TYPE_START
public static final int TYPE_STOP
public static final int TYPE_UPDATE
protected InetAccountingManageEvent()
public InetAccountingManageEvent(int moduleId, int contractId, int userId, int accountingRootDeviceId, InetConnection connection, int type, long timeout)
public InetConnection getConnection()
public void setConnection(InetConnection connection)
public int getType()
public long getTimeout()
protected void prepareMessage(javax.jms.Message message) throws javax.jms.JMSException
prepareMessage
in class Event
javax.jms.JMSException