public class RadiusSession extends Object implements JRadiusSession, Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
static long |
serialVersionUID |
ACCT_ONLY_STARTED, ACCT_ONLY_STOPPED, ACCT_STARTED, ACCT_STOPPED, AUTH_ACCEPTED, AUTH_PENDING, AUTH_REJECTED, RADIUS_ERROR, SESSION_ATTRIBUTE_LOCATION_CITY, SESSION_ATTRIBUTE_LOCATION_COUNTRY_CODE, SESSION_ATTRIBUTE_LOCATION_ID, SESSION_ATTRIBUTE_LOCATION_NAME, SESSION_ATTRIBUTE_LOCATION_STATE_PROVINCE, SESSION_ATTRIBUTE_LOCATION_TYPE, SESSION_STARTED, SESSION_STOPPED, UNKNOWN_STATE| 构造器和说明 |
|---|
RadiusSession() |
RadiusSession(String session) |
public static final long serialVersionUID
public RadiusSession()
public RadiusSession(String session)
public void lock()
lock 在接口中 JRadiusSessionpublic void unlock()
unlock 在接口中 JRadiusSessionpublic boolean isAccountingReversed()
isAccountingReversed 在接口中 JRadiusSessionpublic void setAttribute(String name, Serializable value)
setAttribute 在接口中 JRadiusSessionpublic Serializable getAttribute(String name)
getAttribute 在接口中 JRadiusSessionpublic boolean isLogging()
isLogging 在接口中 JRadiusSessionpublic JRadiusLogEntry getLogEntry(JRadiusEvent event, String key)
getLogEntry 在接口中 JRadiusSessionpublic JRadiusLogEntry getLogEntry(JRadiusRequest request) throws RadiusException
getLogEntry 在接口中 JRadiusSessionRadiusExceptionpublic void addLogMessage(JRadiusRequest request, String message) throws RadiusException
addLogMessage 在接口中 JRadiusSessionRadiusExceptionpublic void commitLogEntries(int result)
commitLogEntries 在接口中 JRadiusSessionpublic void commitLogEntry(JRadiusLogEntry entry, int result)
commitLogEntry 在接口中 JRadiusSessionpublic boolean onPreProcessing(JRadiusRequest request) throws RadiusException
onPreProcessing 在接口中 JRadiusSessionRadiusExceptionpublic void onPostProcessing(JRadiusRequest request) throws RadiusException
onPostProcessing 在接口中 JRadiusSessionRadiusExceptionpublic void onAuthorization(JRadiusRequest request) throws RadiusException
onAuthorization 在接口中 JRadiusSessionRadiusExceptionpublic void onPostAuthentication(JRadiusRequest request) throws RadiusException
onPostAuthentication 在接口中 JRadiusSessionRadiusExceptionpublic void stopSession(boolean force)
public void initSession(JRadiusRequest request) throws RadiusException
initSession 在接口中 JRadiusSessionRadiusExceptionpublic void onAccounting(JRadiusRequest request) throws RadiusException
onAccounting 在接口中 JRadiusSessionRadiusExceptionprotected boolean checkSessionState(int state)
public void ensureSessionState(JRadiusRequest request, int state) throws RadiusException
ensureSessionState 在接口中 JRadiusSessionRadiusExceptionpublic boolean onNoAccountingStatusType(JRadiusRequest request) throws RadiusException
onNoAccountingStatusType 在接口中 JRadiusSessionRadiusExceptionpublic String getUsername()
getUsername 在接口中 JRadiusSessionpublic void setUsername(String username)
setUsername 在接口中 JRadiusSessionusername - The username to set.public String getRealm()
getRealm 在接口中 JRadiusSessionpublic void setRealm(String realm)
setRealm 在接口中 JRadiusSessionrealm - The realm to set.public String getPassword()
getPassword 在接口中 JRadiusSessionpublic void setPassword(String password)
setPassword 在接口中 JRadiusSessionpassword - The password to set.public String getSessionKey()
getSessionKey 在接口中 JRadiusSessionpublic void setSessionKey(String sessionKey)
setSessionKey 在接口中 JRadiusSessionsessionKey - The sessionKey to set.public String getSessionId()
getSessionId 在接口中 JRadiusSessionpublic void setSessionId(String sessionId)
setSessionId 在接口中 JRadiusSessionsessionId - The sessionId to set.public Long getServiceType()
getServiceType 在接口中 JRadiusSessionpublic void setServiceType(Long serviceType)
setServiceType 在接口中 JRadiusSessionserviceType - The serviceType to set.public Long getIdleTimeout()
getIdleTimeout 在接口中 JRadiusSessionpublic void setIdleTimeout(Long idleTimeout)
setIdleTimeout 在接口中 JRadiusSessionidleTimeout - The idleTimeout to set.public Long getInterimInterval()
getInterimInterval 在接口中 JRadiusSessionpublic void setInterimInterval(Long interimInterval)
setInterimInterval 在接口中 JRadiusSessioninterimInterval - The interimInterval to set.public Long getSessionTimeout()
getSessionTimeout 在接口中 JRadiusSessionpublic void setSessionTimeout(Long sessionTimeout)
setSessionTimeout 在接口中 JRadiusSessionsessionTimeout - The sessionTimeout to set.public Long getSessionTime()
getSessionTime 在接口中 JRadiusSessionpublic void setSessionTime(Long sessionTime)
setSessionTime 在接口中 JRadiusSessionsessionTime - The sessionTime to set.public Date getStartTime()
getStartTime 在接口中 JRadiusSessionpublic void setStartTime(Date startTime)
setStartTime 在接口中 JRadiusSessionstartTime - The startTime to set.public Date getLastInterimTime()
getLastInterimTime 在接口中 JRadiusSessionpublic void setLastInterimTime(Date lastInterimTime)
setLastInterimTime 在接口中 JRadiusSessionlastInterimTime - The lastInterimTime to set.public Date getStopTime()
getStopTime 在接口中 JRadiusSessionpublic void setStopTime(Date stopTime)
setStopTime 在接口中 JRadiusSessionstopTime - The stopTime to set.public Long getGigaWordsIn()
getGigaWordsIn 在接口中 JRadiusSessionpublic void setGigaWordsIn(Long gigaWordsIn)
setGigaWordsIn 在接口中 JRadiusSessiongigaWordsIn - The gigaWordsIn to set.public Long getGigaWordsOut()
getGigaWordsOut 在接口中 JRadiusSessionpublic void setGigaWordsOut(Long gigaWordsOut)
setGigaWordsOut 在接口中 JRadiusSessiongigaWordsOut - The gigaWordsOut to set.public Long getOctetsIn()
getOctetsIn 在接口中 JRadiusSessionpublic void setOctetsIn(Long octetsIn)
setOctetsIn 在接口中 JRadiusSessionoctetsIn - The octetsIn to set.public Long getOctetsOut()
getOctetsOut 在接口中 JRadiusSessionpublic void setOctetsOut(Long octetsOut)
setOctetsOut 在接口中 JRadiusSessionoctetsOut - The octetsOut to set.public Long getTotalOctetsIn()
getTotalOctetsIn 在接口中 JRadiusSessionpublic Long getTotalOctetsOut()
getTotalOctetsOut 在接口中 JRadiusSessionpublic Long getPacketsIn()
getPacketsIn 在接口中 JRadiusSessionpublic void setPacketsIn(Long packetsIn)
setPacketsIn 在接口中 JRadiusSessionpacketsIn - The packetsIn to set.public Long getPacketsOut()
getPacketsOut 在接口中 JRadiusSessionpublic void setPacketsOut(Long packetsOut)
setPacketsOut 在接口中 JRadiusSessionpacketsOut - The packetsOut to set.public Long getTerminateCause()
getTerminateCause 在接口中 JRadiusSessionpublic void setTerminateCause(Long terminateCause)
setTerminateCause 在接口中 JRadiusSessionterminateCause - The terminateCause to set.public byte[][] getRadiusClass()
getRadiusClass 在接口中 JRadiusSessionpublic void setRadiusClass(byte[][] radiusClass)
setRadiusClass 在接口中 JRadiusSessionradiusClass - The radiusClass to set.public int getSessionState()
getSessionState 在接口中 JRadiusSessionpublic void setSessionState(int sessionState)
setSessionState 在接口中 JRadiusSessionsessionState - The sessionState to set.public String getProxyToRealm()
getProxyToRealm 在接口中 JRadiusSessionpublic void setProxyToRealm(String proxyToRealm)
setProxyToRealm 在接口中 JRadiusSessionproxyToRealm - The proxyToRealm to set.public boolean isSecured()
isSecured 在接口中 JRadiusSessionpublic void setSecured(boolean secured)
setSecured 在接口中 JRadiusSessionsecured - The secured to set.public String getCalledStationId()
getCalledStationId 在接口中 JRadiusSessionpublic void setCalledStationId(String calledStation)
setCalledStationId 在接口中 JRadiusSessioncalledStation - The calledStation to set.public String getCallingStationId()
getCallingStationId 在接口中 JRadiusSessionpublic void setCallingStationId(String callingStation)
setCallingStationId 在接口中 JRadiusSessioncallingStation - The callingStation to set.public String getConnectInfo()
getConnectInfo 在接口中 JRadiusSessionpublic void setConnectInfo(String connectInfo)
setConnectInfo 在接口中 JRadiusSessionconnectInfo - The connectInfo to set.public String getClientIPAddress()
getClientIPAddress 在接口中 JRadiusSessionpublic String getFramedIPAddress()
getFramedIPAddress 在接口中 JRadiusSessionpublic void setFramedIPAddress(String framedIPAddress)
setFramedIPAddress 在接口中 JRadiusSessionframedIPAddress - The framedIPAddress to set.public void setClientIPAddress(String clientIP)
setClientIPAddress 在接口中 JRadiusSessionclientIP - The clientIP to set.public String getNasIdentifier()
getNasIdentifier 在接口中 JRadiusSessionpublic void setNasIdentifier(String nasID)
setNasIdentifier 在接口中 JRadiusSessionnasID - The nasID to set.public String getNasIPAddress()
getNasIPAddress 在接口中 JRadiusSessionpublic void setNasIPAddress(String nasIP)
setNasIPAddress 在接口中 JRadiusSessionnasIP - The nasIP to set.public Long getMaxBandwidthDown()
getMaxBandwidthDown 在接口中 JRadiusSessionpublic void setMaxBandwidthDown(Long maxBandwidthDown)
setMaxBandwidthDown 在接口中 JRadiusSessionpublic Long getMaxBandwidthUp()
getMaxBandwidthUp 在接口中 JRadiusSessionpublic void setMaxBandwidthUp(Long maxBandwidthUp)
setMaxBandwidthUp 在接口中 JRadiusSessionpublic Long getMinBandwidthDown()
getMinBandwidthDown 在接口中 JRadiusSessionpublic void setMinBandwidthDown(Long minBandwidthDown)
setMinBandwidthDown 在接口中 JRadiusSessionpublic Long getMinBandwidthUp()
getMinBandwidthUp 在接口中 JRadiusSessionpublic void setMinBandwidthUp(Long minBandwidthUp)
setMinBandwidthUp 在接口中 JRadiusSessionpublic long getTimeStamp()
getTimeStamp 在接口中 JRadiusSessionpublic void setTimeStamp(long timeStamp)
setTimeStamp 在接口中 JRadiusSessiontimeStamp - The timeStamp to set.public boolean isNewSession()
public void setNewSession(boolean newSession)
newSession - The newSession to set.public String getJRadiusKey()
getJRadiusKey 在接口中 JRadiusSessionpublic void setJRadiusKey(String jRadiusKey)
setJRadiusKey 在接口中 JRadiusSessionpublic JRadiusRequest getLastRadiusRequest()
public void setLastRadiusRequest(JRadiusRequest lastRadiusRequest)
public Long getMaxOctetsDown()
getMaxOctetsDown 在接口中 JRadiusSessionpublic void setMaxOctetsDown(Long maxOctetsDown)
setMaxOctetsDown 在接口中 JRadiusSessionpublic Long getMaxOctetsUp()
getMaxOctetsUp 在接口中 JRadiusSessionpublic void setMaxOctetsUp(Long maxOctetsUp)
setMaxOctetsUp 在接口中 JRadiusSessionpublic Long getMaxOctetsTotal()
getMaxOctetsTotal 在接口中 JRadiusSessionpublic void setMaxOctetsTotal(Long maxOctetsTotal)
setMaxOctetsTotal 在接口中 JRadiusSessionpublic String getNasType()
getNasType 在接口中 JRadiusSessionpublic void setNasType(String nasType)
setNasType 在接口中 JRadiusSessionpublic String getRedirectURL()
getRedirectURL 在接口中 JRadiusSessionpublic void setRedirectURL(String redirectURL)
setRedirectURL 在接口中 JRadiusSessionpublic Date getAuthorizeTime()
public void setAuthorizeTime(Date authorizeTime)
public Long getNasPortType()
public void setNasPortType(Long nasPortType)
public Long getAcctAuthentic()
public void setAcctAuthentic(Long acctAuthentic)
public byte[] getRadiusState()
getRadiusState 在接口中 JRadiusSessionpublic void setRadiusState(byte[] radiusState)
setRadiusState 在接口中 JRadiusSessionCopyright © 2016. All rights reserved.