public class InetSession
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
connectionId |
protected short |
deviceState
Состояние на устройстве для сессии (на момент начала сессии).
|
protected long |
id |
protected java.util.Date |
lastActive |
protected long |
parentId |
protected java.math.BigDecimal |
sessionCost |
protected java.util.Date |
sessionStart |
protected java.util.Date |
sessionStop |
protected long |
sessionTime |
protected long |
splittedId |
protected int |
status |
static short |
STATUS_ALIVE |
static short |
STATUS_CLOSED |
static short |
STATUS_FINISHED |
static short |
STATUS_SUSPENDED |
static int |
TYPE_FAKE |
static int |
TYPE_NORMAL |
Constructor and Description |
---|
InetSession() |
InetSession(InetConnection connection) |
Modifier and Type | Method and Description |
---|---|
long |
getConnectionId() |
short |
getDeviceState()
Состояние на устройстве для сессии (на момент начала сессии).
|
long |
getId() |
java.util.Date |
getLastActive() |
long |
getParentId() |
java.math.BigDecimal |
getSessionCost() |
java.util.Date |
getSessionStart() |
java.util.Date |
getSessionStop() |
long |
getSessionTime() |
long |
getSplittedId() |
int |
getStatus() |
void |
setConnectionId(long connectionId) |
void |
setDeviceState(short type)
Состояние на устройстве для сессии (на момент начала сессии).
|
void |
setId(long id) |
void |
setLastActive(java.util.Date lastActive) |
void |
setParentId(long parentId) |
void |
setSessionCost(java.math.BigDecimal sessionCost) |
void |
setSessionStart(java.util.Date sessionStart) |
void |
setSessionStop(java.util.Date sessionStop) |
void |
setSessionTime(long sessionTime) |
void |
setSplittedId(long splittedId) |
void |
setStatus(int status) |
public static final short STATUS_ALIVE
public static final short STATUS_SUSPENDED
public static final short STATUS_CLOSED
public static final short STATUS_FINISHED
public static final int TYPE_NORMAL
public static final int TYPE_FAKE
protected long id
protected long connectionId
protected long parentId
protected long splittedId
protected java.util.Date sessionStart
protected java.util.Date sessionStop
protected java.util.Date lastActive
protected short deviceState
InetServ.STATE_DISABLE
protected long sessionTime
protected java.math.BigDecimal sessionCost
protected int status
public InetSession()
public InetSession(InetConnection connection)
public long getId()
public void setId(long id)
public long getConnectionId()
public void setConnectionId(long connectionId)
public long getParentId()
public void setParentId(long parentId)
public long getSplittedId()
public void setSplittedId(long splittedId)
public short getDeviceState()
InetServ.STATE_DISABLE
public void setDeviceState(short type)
InetServ.STATE_DISABLE
public java.util.Date getSessionStart()
public void setSessionStart(java.util.Date sessionStart)
public java.util.Date getSessionStop()
public void setSessionStop(java.util.Date sessionStop)
public java.util.Date getLastActive()
public void setLastActive(java.util.Date lastActive)
public long getSessionTime()
public void setSessionTime(long sessionTime)
public java.math.BigDecimal getSessionCost()
public void setSessionCost(java.math.BigDecimal sessionCost)
public int getStatus()
public void setStatus(int status)