public class InetSessionLog extends InetSession implements java.lang.Cloneable
connectionId, deviceState, id, lastActive, parentId, sessionCost, sessionStart, sessionStop, sessionTime, splittedId, status, STATUS_ALIVE, STATUS_CLOSED, STATUS_FINISHED, STATUS_SUSPENDED, TYPE_FAKE, TYPE_NORMAL
Constructor and Description |
---|
InetSessionLog() |
InetSessionLog(InetConnection connection,
InetSession session) |
Modifier and Type | Method and Description |
---|---|
InetSessionLog |
clone() |
boolean |
equals(java.lang.Object obj) |
int |
getAccessCode()
Для неавторизованной сессии - код ошибки.
|
java.util.Map<java.lang.Integer,InetSessionLogAccount> |
getAccountMap() |
java.lang.String |
getAcctSessionId() |
int |
getAgentDeviceId() |
java.lang.String |
getCalledStationId() |
java.lang.String |
getCallingStationId() |
java.util.List<InetSessionLog> |
getChildren() |
java.lang.String |
getCircuitId() |
java.util.Date |
getConnectionStart() |
java.lang.String |
getContractComment() |
int |
getContractId() |
java.lang.String |
getContractTitle() |
byte[] |
getDelegatedPrefix() |
short |
getDelegatedPrefixLength() |
int |
getDelegatedPrefixResourceId() |
int |
getDeviceId() |
java.util.Set<java.lang.Integer> |
getDeviceOptions() |
int |
getDevicePort() |
java.lang.String |
getDurationAsString()
Возвращает продолжительность сессии в строковом виде.
|
java.lang.String |
getFromNumberToNumberAsString()
Возвращает строку "с номера/на номер" для отображения в таблице
|
java.lang.String |
getInetAddress() |
byte[] |
getInetAddressBytes() |
int |
getIpResourceId() |
long |
getParentConnectionId() |
byte[] |
getPrefix() |
short |
getPrefixLength() |
int |
getPrefixResourceId() |
java.lang.String |
getRealm() |
java.util.List<IpNet> |
getRouteList() |
java.lang.String |
getServiceTitle() |
int |
getServId() |
java.lang.String |
getSessionActivityAsString() |
java.lang.String |
getSessionStartAsString() |
java.lang.String |
getSessionStopAsString() |
java.lang.String |
getStatusName() |
java.util.Map<java.lang.Integer,java.lang.Long> |
getTrafficMap() |
int |
getType()
Авторизированная ли сессия.
|
java.lang.String |
getUsername() |
int |
hashCode()
hashCode является connectionId - чтобы можно было в hashmap хранить по одному connectionId
|
void |
setAccessCode(int accessCode) |
void |
setAccountMap(java.util.Map<java.lang.Integer,InetSessionLogAccount> accountMap) |
void |
setAcctSessionId(java.lang.String acctSessionId) |
void |
setAgentDeviceId(int agentDeviceId) |
void |
setCalledStationId(java.lang.String fromNumber) |
void |
setCallingStationId(java.lang.String toNumber) |
void |
setChildren(java.util.List<InetSessionLog> children) |
void |
setCircuitId(java.lang.String circuitId) |
void |
setConnectionStart(java.util.Date connectionStart) |
void |
setContractComment(java.lang.String contractComment) |
void |
setContractId(int contractId) |
void |
setContractTitle(java.lang.String contractTitle) |
void |
setDelegatedPrefix(byte[] delegatedPrefix) |
void |
setDelegatedPrefixLength(short delegatedPrefixLength) |
void |
setDelegatedPrefixResourceId(int delegatedPrefixResourceId) |
void |
setDeviceId(int deviceId) |
void |
setDeviceOptions(java.util.Set<java.lang.Integer> deviceOptions) |
void |
setDevicePort(int port) |
void |
setInetAddress(java.lang.String nil)
Заглушка для JAXB
|
void |
setInetAddressBytes(byte[] inetAddressBytes) |
void |
setIpResourceId(int ipResourceId) |
void |
setParentConnectionId(long parentSessionId) |
void |
setPrefix(byte[] prefix) |
void |
setPrefixLength(short prefixLength) |
void |
setPrefixResourceId(int prefixResourceId) |
void |
setRealm(java.lang.String realm) |
void |
setRouteList(java.util.List<IpNet> routeList) |
void |
setServiceTitle(java.lang.String serviceTitle) |
void |
setServId(int loginId) |
void |
setStatusName(java.lang.String nil)
Заглушка для JAXB
|
void |
setTrafficMap(java.util.Map<java.lang.Integer,java.lang.Long> trafficMap) |
void |
setType(int type) |
void |
setUsername(java.lang.String userName) |
InetConnection |
toConnection() |
InetSession |
toSession() |
java.lang.String |
toString() |
getConnectionId, getDeviceState, getId, getLastActive, getParentId, getSessionCost, getSessionStart, getSessionStop, getSessionTime, getSplittedId, getStatus, setConnectionId, setDeviceState, setId, setLastActive, setParentId, setSessionCost, setSessionStart, setSessionStop, setSessionTime, setSplittedId, setStatus
public InetSessionLog()
public InetSessionLog(InetConnection connection, InetSession session)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int getContractId()
public void setContractId(int contractId)
public int getServId()
public void setServId(int loginId)
public int getDeviceId()
public void setDeviceId(int deviceId)
public int getDevicePort()
public void setDevicePort(int port)
public int getAgentDeviceId()
public void setAgentDeviceId(int agentDeviceId)
public java.util.Date getConnectionStart()
public void setConnectionStart(java.util.Date connectionStart)
public long getParentConnectionId()
public void setParentConnectionId(long parentSessionId)
public java.lang.String getRealm()
public void setRealm(java.lang.String realm)
public java.util.List<InetSessionLog> getChildren()
public void setChildren(java.util.List<InetSessionLog> children)
public java.lang.String getAcctSessionId()
public void setAcctSessionId(java.lang.String acctSessionId)
public java.lang.String getUsername()
public void setUsername(java.lang.String userName)
public java.lang.String getCalledStationId()
public void setCalledStationId(java.lang.String fromNumber)
public java.lang.String getCallingStationId()
public void setCallingStationId(java.lang.String toNumber)
public java.lang.String getCircuitId()
public void setCircuitId(java.lang.String circuitId)
public int getIpResourceId()
public void setIpResourceId(int ipResourceId)
public byte[] getInetAddressBytes()
public void setInetAddressBytes(byte[] inetAddressBytes)
public java.lang.String getInetAddress()
public void setInetAddress(java.lang.String nil)
nil
- public java.util.List<IpNet> getRouteList()
public void setRouteList(java.util.List<IpNet> routeList)
public int getType()
public void setType(int type)
public int getAccessCode()
public void setAccessCode(int accessCode)
public java.util.Set<java.lang.Integer> getDeviceOptions()
public void setDeviceOptions(java.util.Set<java.lang.Integer> deviceOptions)
public InetSessionLog clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map<java.lang.Integer,java.lang.Long> getTrafficMap()
public void setTrafficMap(java.util.Map<java.lang.Integer,java.lang.Long> trafficMap)
public java.util.Map<java.lang.Integer,InetSessionLogAccount> getAccountMap()
public void setAccountMap(java.util.Map<java.lang.Integer,InetSessionLogAccount> accountMap)
public java.lang.String getStatusName()
public void setStatusName(java.lang.String nil)
nil
- public java.lang.String getContractComment()
public void setContractComment(java.lang.String contractComment)
public void setContractTitle(java.lang.String contractTitle)
public java.lang.String getContractTitle()
public java.lang.String getServiceTitle()
public void setServiceTitle(java.lang.String serviceTitle)
public InetSession toSession()
public InetConnection toConnection()
public java.lang.String getFromNumberToNumberAsString()
public java.lang.String getDurationAsString()
public java.lang.String getSessionStartAsString()
public java.lang.String getSessionStopAsString()
public java.lang.String getSessionActivityAsString()
public int getPrefixResourceId()
public void setPrefixResourceId(int prefixResourceId)
public byte[] getPrefix()
public void setPrefix(byte[] prefix)
public short getPrefixLength()
public void setPrefixLength(short prefixLength)
public int getDelegatedPrefixResourceId()
public void setDelegatedPrefixResourceId(int delegatedPrefixResourceId)
public byte[] getDelegatedPrefix()
public void setDelegatedPrefix(byte[] delegatedPrefix)
public short getDelegatedPrefixLength()
public void setDelegatedPrefixLength(short delegatedPrefixLength)