public class ScriptServiceTrackingPluginEvent
extends net.juniper.smgt.sae.plugin.AbstractPluginEvent
implements net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent, net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent, net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
Constructor and Description |
---|
ScriptServiceTrackingPluginEvent(ServiceSessionInfo serviceSessionInfo)
create a service plug-in event instance
|
Modifier and Type | Method and Description |
---|---|
AccountingData |
getAccountingData()
Get the Accounting Data
|
java.lang.String |
getAccountingId()
Get the user accounting ID.
|
java.lang.String |
getAggrAccountingId()
This method is only for Aggregate services only
|
java.lang.String |
getAggrAuthUserId()
This method is only for Aggregate services only
|
java.lang.String |
getAggrLoginName()
This method is only for Aggregate services only
|
java.lang.String |
getAggrSessionId()
This method is only for Aggregate services only
|
java.lang.String |
getAggrUserDn()
This method is only for Aggregate services only
|
java.net.InetAddress |
getAggrUserInetAddress()
This method is only for Aggregate services only
|
java.lang.String |
getAuthUserId()
This method is used only for auth event only.
|
java.lang.String |
getCallingStationId()
Get Calling-Station-Id associated with the primary interface
|
java.util.Collection |
getDelegatedIpv6Prefix()
Returns delegated IPv6 prefix
|
byte[] |
getDhcpPacket()
Get DHCP options returned for DHCP users.
|
java.lang.String |
getDomain()
Get the Domain
|
int |
getDownstreamBandwidth()
Get the Service Downstream Bandwidth
|
int |
getEventTime()
The event time is calculated from evenTimemilliSeconds
|
long |
getEventTimeMillisecond()
Get the event time in milli seconds
|
byte[] |
getFramedIpv6Prefix()
Get the framed IPv6 prefix
|
java.lang.String |
getHostName()
Get the Host name
|
java.lang.String[] |
getIfRadiusClass()
Get all values of interface-radius class.
|
java.lang.String |
getIfSessionId()
Get the Interface Session Id
|
long |
getInOctets()
Get number of octets received from user (64bit)
|
long |
getInPackets()
Get the number of packets transfered from this service
|
java.lang.String |
getInterfaceAlias()
Get the interface alias, i.e. alternative description of managed interface.
|
java.lang.String |
getInterfaceDescr()
Get Interface Description
|
java.lang.String |
getInterfaceName()
Get the name of the interface through which subscriber comes in
|
long |
getInterfaceSpeed()
Get the interface speed
|
int |
getInterimTime()
Get the Interim Time in seconds
|
long |
getIpv6InOctets()
Get number of ipv6 octets received from user (64bit)
|
long |
getIpv6InPackets()
Get the number of ipv6 packets transfered from this service
|
long |
getIpv6OutOctets()
Get number of ipv6 octets sent to user (64bit)
|
long |
getIpv6OutPackets()
Get the number of ipv6 packets transfered from this service
|
long |
getIpv6TotalOctets()
Get number of total ipv6 octets (sent/received) to the user (64bit)
|
java.lang.String[] |
getLocalQosProfile()
Get the local qos profiles as String[]
|
net.juniper.smgt.sae.session.SessionProperties |
getLocalQosProfiles()
Get the local qos profiles as Session properties
|
java.net.InetAddress |
getLocalTunnelInetAddress()
InetAddress of the local end of an L2TP tunnel.
|
java.lang.String |
getLoginName()
Get the subscriber login name
|
java.lang.String |
getManagerId()
Get the Manager ID
|
java.net.InetAddress |
getNasInetAddress()
Get the IP address the virtual router uses for accounting purposes.
|
int |
getNasIp()
Get the ERX IP Address
|
int |
getNasPort()
Get NAS-Port, i.e. a numerical index that identifies the layer 2 interface.
|
int |
getOperational()
This method is not for Start service tracking.
|
long |
getOutOctets()
Get number of octets sent to user (64bit)
|
long |
getOutPackets()
Get the number of packets transfered from this service
|
java.lang.String |
getPortId()
Get NAS-Port-ID, i.e. a name of the interface including layer 2 access information.
|
java.lang.String |
getPrimaryUserName()
Get the primary user name.
|
java.lang.String[] |
getProperty()
Get the Property used to get arbitrary attributes from SessionProperties
|
java.lang.String[] |
getRadiusClass()
Get the Radius Class
|
long |
getRatingGroup() |
java.net.InetAddress |
getRemoteTunnelInetAddress()
InetAddress of the far end of an L2TP tunnel.
|
java.lang.String |
getRouterName()
get the router name
|
java.lang.String |
getRouterType()
Get the router type
|
java.lang.String |
getServiceBundle()
Get the service bundle, which is only available for PPP and authenticated DHCP addresses.
|
long |
getServiceIdentifier()
Get the 3gpp Service Identifier attribute
|
java.lang.String |
getServiceName()
Get the Service Name
|
java.lang.String |
getServiceScope()
Get the Service Scope
To get service scope, needs the Service object
|
java.lang.String |
getServiceSessionName()
Get the Service Session Name
|
java.lang.String |
getServiceSessionTag()
Get the Service Session Tag
|
java.lang.String |
getSessionId()
Get the SessionId
|
net.juniper.smgt.sae.session.SessionProperties |
getSessionProperties()
Return the SessionPoperties
|
int |
getSessionTime()
Get the Session time
|
int |
getSessionTimeout()
Get the Session Timeout in seconds
|
java.lang.String |
getSubscriptionName()
Get the Subscription Name
|
java.lang.String[] |
getSubstitution()
Get the Substitution
See the SSC Administration and Operations Guide for details about how substitutions affect
service policies via paramater value aquisitions, and for detailed information about the
format of the Strings that contain the substitutions.
|
int |
getTerminateCause()
Get the Terminate Error Code
|
long |
getTotalOctets()
Get number of total octets (sent/received) to the user (64bit)
|
int |
getUpstreamBandwidth()
Get the Service up stream bandwidth
|
java.lang.String |
getUserDn()
Get the LDAP distinguished name of the loaded user profile assigned to the user.
|
java.net.InetAddress |
getUserInetAddress()
Get the InetAddress associated with PPP or DHCP user.
|
int |
getUserIpAddress()
Get the User IPv4 address
|
int |
getUserIpMask()
Get the Subscriber IP mask
|
java.lang.String |
getUserMacAddress()
Get MAC address of DHCP user.
|
java.lang.String[] |
getUserProperty()
Get the property from user plug-in event.
|
java.lang.String[] |
getUserRadiusClass()
Get the User Radius Class
|
java.lang.String |
getUserSessionHandle()
Get the user session handle
|
java.lang.String |
getUserSessionId()
Get the User SessionId
|
net.juniper.smgt.sae.session.SessionProperties |
getUserSessionProperties()
Get the session properties from user plug-in event.
|
java.lang.String |
getUserType()
Get the user type.
|
java.lang.String |
getVpnId()
Get the vpn Id
|
boolean |
isSyncStopEvent() |
void |
setAccountingId(java.lang.String acctId)
Set the user accounting ID.
|
void |
setCallingStationId(java.lang.String stationId)
Set Calling-Station-Id associated with the primary interface
|
void |
setDhcpPacket(byte[] dhcpPacket)
Set DHCP options returned for DHCP users.
|
void |
setDomain(java.lang.String theLoginName)
Set the Domain
|
void |
setDownstreamBandwidth(int bandwidth)
set the Service Downstream Bandwidth
|
void |
setFramedIpv6Prefix(byte[] framedIpv6Prefix)
Set the framed IPv6 prefix
|
void |
setHostName(java.lang.String hostName)
Set the Host name
|
void |
setIfSessionId(java.lang.String theIntfSessionId)
Set the Interface Session Id
|
void |
setInOctets(long inOctets)
Set number of octets received from user (64bit)
|
void |
setInPackets(long packets_in)
Set the number of packets transfered from this service
|
void |
setInterfaceAlias(java.lang.String interfaceAlias)
Set the interface alias, i.e. alternative description of managed interface.
|
void |
setInterfaceDescr(java.lang.String interfaceDesc)
Set Interface Description
|
void |
setInterfaceName(java.lang.String interfaceName)
Set the interface name through which subscriber comes in
|
void |
setInterfaceSpeed(long speed)
Set the Interface speed
|
void |
setInterimTime(int interval)
Set the Interim Time in seconds
|
void |
setIpv6InOctets(long ipv6InOctets)
Set number of ipv6 octets received from user (64bit)
|
void |
setIpv6InPackets(long ipv6_packets_in)
Set the number of ipv6 packets transfered from this service
|
void |
setIpv6OutOctets(long ipv6OutOctets)
Set number of ipv6 octets sent to user (64bit)
|
void |
setIpv6OutPackets(long ipv6_packets_out)
Set the number of ipv6 packets transfered from this service
|
void |
setIpv6TotalOctets(long ipv6TotalOctets)
Set number of ipv6 octets (sent/received) to the user (64bit)
|
void |
setLocalQosProfile(java.lang.String[] localQosProfile)
Set the local qos profiles as String[]
|
void |
setLocalQosProfiles(java.util.TreeSet localQosProfile)
Set the local qos profiles as Session properties
|
void |
setLocalTunnelInetAddress(java.net.InetAddress localTunnelInetAddr)
InetAddress of the local end of an L2TP tunnel.
|
void |
setLoginName(java.lang.String loginName)
Set the subscriber Login Name
|
void |
setNasInetAddress(java.net.InetAddress nasInetAddr)
Set the IP address the virtual router uses for accounting purposes.
|
void |
setNasIp(byte[] nasIp)
Set the ERX IP Address in byte array
|
void |
setNasPort(int nasPort)
Set NAS-Port, i.e. a numerical index that identifies the layer 2 interface.
|
void |
setOperational(int operational)
Set operational
|
void |
setOutOctets(long outOctets)
Set number of octets sent to user (64bit)
|
void |
setOutPackets(long packets_out)
Set the number of packets transfered from this service
|
void |
setPortId(java.lang.String portId)
Set the NAS-Port-ID
|
void |
setPrimaryUserName(java.lang.String primaryUsername)
The primary user name is the name that was used to
authenticate the transport interface of the user.
|
void |
setProperty(java.lang.String key,
java.lang.String value)
The method setProperty can be used to set arbitrary attributes required by
the event.
|
void |
setRadiusClass(java.lang.String[] radiusClass)
Set the Radius Class
|
void |
setRatingGroup(long ratingGroup) |
void |
setRemoteTunnelInetAddress(java.net.InetAddress remoteTunnelInetAddr)
InetAddress of the far end of an L2TP tunnel.
|
void |
setRouterName(java.lang.String routerName)
Set the router name
|
void |
setRouterType(java.lang.String routerType)
Set the router type
|
void |
setServiceBundle(java.lang.String serviceBundle)
Set the service bundle
|
void |
setServiceIdentifier(long serviceIdentifier)
Set the 3gpp Service Identifier attribute
|
void |
setServiceName(java.lang.String serviceName)
Set the Service Name
|
void |
setServiceScope(java.util.Set<net.juniper.smgt.sae.service.Scope> scope,
java.lang.String serviceName)
Set the Service Scope
|
void |
setServiceSessionName(java.lang.String sessionName)
Set the Service Session Name
|
void |
setServiceSessionTag(java.lang.String sessionTag)
Set the Service Session Tag
|
void |
setSessionId(java.lang.String theSessionId)
Set the SessionId
|
void |
setSessionTime(long sTime)
Set the Session Time
|
void |
setSessionTimeout(int timeout)
Set the Session Timeout in seconds
|
void |
setSubscriptionName(java.lang.String subscriptionName)
Set the Subscription Name
|
void |
setSubstitutions(java.util.List<java.lang.String> theSubstitutions)
Set the substitutions of service, it's only available
in sync event for plug-in recover lost substitution
|
void |
setTerminateErrorCode(int theCause)
Set the Terminate Error Code
|
void |
setTotalOctets(long totalOctets)
Set number of octets (sent/received) to the user (64bit)
|
void |
setUpstreamBandwidth(int bandwidth)
Set the Service up stream bandwidth
|
void |
setUserDn(java.lang.String userDn)
Set the LDAP distinguished name of the loaded user profile assigned to the user.
|
void |
setUserInetAddress(java.net.InetAddress userInetAddr)
Set the InetAddress associated with PPP or DHCP user.
|
void |
setUserIpAddress(byte[] userIpAddr)
Set the User IPv4 address
|
void |
setUserIpMask(int userIpMask)
Set the subscriber IP mask
|
void |
setUserMacAddress(java.lang.String userMacAddr)
Set MAC address of DHCP user.
|
void |
setUserProperty(java.lang.String key,
java.lang.String value)
Get the property from user plug-in event.
|
void |
setUserRadiusClass(java.lang.String[] userRadiusClass)
Set the User Radius Class
|
void |
setUserSessionHandle(java.lang.String userSessionHandle)
Set the user session handle
|
void |
setUserSessionId(java.lang.String userSessionId)
Set the User SessionId
|
void |
setUserType(java.lang.String userType)
Set the user type.
|
void |
setVpnId(java.lang.String vpnId)
Set the vpn Id
|
decrementUse, incrementUse, join
public ScriptServiceTrackingPluginEvent(ServiceSessionInfo serviceSessionInfo)
serviceSessionInfo
- public int getTerminateCause()
getTerminateCause
in interface net.juniper.smgt.sae.plugin.StopTrackingPluginEvent
public void setTerminateErrorCode(int theCause)
theCause
- - Error codepublic AccountingData getAccountingData()
public java.lang.String getSessionId()
getSessionId
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setSessionId(java.lang.String theSessionId)
theSessionId-
- service session IDpublic int getSessionTimeout()
getSessionTimeout
in interface net.juniper.smgt.sae.plugin.TrackingPluginEvent
public void setSessionTimeout(int timeout)
setSessionTimeout
in interface net.juniper.smgt.sae.plugin.TrackingPluginEvent
timeout-
- Session Timeout in secondspublic long getServiceIdentifier()
getServiceIdentifier
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getServiceIdentifier
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getServiceIdentifier
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setServiceIdentifier(long serviceIdentifier)
setServiceIdentifier
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
setServiceIdentifier
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
setServiceIdentifier
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
serviceIdentifier-
- 3gpp Service Identifier attributepublic int getInterimTime()
getInterimTime
in interface net.juniper.smgt.sae.plugin.TrackingPluginEvent
public void setInterimTime(int interval)
setInterimTime
in interface net.juniper.smgt.sae.plugin.TrackingPluginEvent
interval-
- The interval, in seconds, between service interim records.public java.lang.String getServiceSessionName()
getServiceSessionName
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getServiceSessionName
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getServiceSessionName
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setServiceSessionName(java.lang.String sessionName)
sessionName-
- Service Session Namepublic java.lang.String getServiceSessionTag()
getServiceSessionTag
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getServiceSessionTag
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getServiceSessionTag
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setServiceSessionTag(java.lang.String sessionTag)
sessionTag-
- Service Session Tagpublic java.lang.String getIfSessionId()
getIfSessionId
in interface net.juniper.smgt.sae.plugin.TrackingPluginEvent
public void setIfSessionId(java.lang.String theIntfSessionId)
theIntfSessionId-
- Interface Session Idpublic java.lang.String[] getSubstitution()
getSubstitution
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
public void setSubstitutions(java.util.List<java.lang.String> theSubstitutions)
theSubstitutions-
- substitutions of servicepublic void setSubscriptionName(java.lang.String subscriptionName)
subscriptionName
- - service available for the subscriber as subscription.public java.lang.String getAuthUserId()
getAuthUserId
in interface net.juniper.smgt.sae.plugin.TrackingPluginEvent
public void setDomain(java.lang.String theLoginName)
theLoginName
- - domain name is after the @ symbol from the loginname
(e.g. jane@default, default is the domain name)public java.lang.String getDomain()
getDomain
in interface net.juniper.smgt.sae.plugin.TrackingPluginEvent
public java.lang.String getSubscriptionName()
getSubscriptionName
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getSubscriptionName
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getSubscriptionName
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public java.lang.String getAggrSessionId()
getAggrSessionId
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getAggrSessionId
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getAggrSessionId
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public java.lang.String getAggrLoginName()
getAggrLoginName
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getAggrLoginName
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getAggrLoginName
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public java.lang.String getAggrUserDn()
getAggrUserDn
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getAggrUserDn
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getAggrUserDn
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public java.net.InetAddress getAggrUserInetAddress()
getAggrUserInetAddress
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getAggrUserInetAddress
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getAggrUserInetAddress
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public java.lang.String getAggrAccountingId()
getAggrAccountingId
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getAggrAccountingId
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getAggrAccountingId
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public java.lang.String getAggrAuthUserId()
getAggrAuthUserId
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getAggrAuthUserId
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getAggrAuthUserId
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public java.lang.String[] getRadiusClass()
getRadiusClass
in interface net.juniper.smgt.sae.plugin.TrackingPluginEvent
public void setRadiusClass(java.lang.String[] radiusClass)
radiusClass
- public java.lang.String[] getUserRadiusClass()
getUserRadiusClass
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getUserRadiusClass
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getUserRadiusClass
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setUserRadiusClass(java.lang.String[] userRadiusClass)
userRadiusClass-
- user session RADIUS classpublic java.lang.String getUserSessionId()
getUserSessionId
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getUserSessionId
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getUserSessionId
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setUserSessionId(java.lang.String userSessionId)
userSessionId
- - user session ID for the service sessionpublic java.lang.String getServiceName()
getServiceName
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getServiceName
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getServiceName
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setServiceName(java.lang.String serviceName)
serviceName
- - service namepublic java.lang.String getServiceScope()
getServiceScope
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getServiceScope
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getServiceScope
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setServiceScope(java.util.Set<net.juniper.smgt.sae.service.Scope> scope, java.lang.String serviceName)
scope
- - service scopeserviceName
- - service namepublic java.lang.String getManagerId()
getManagerId
in interface net.juniper.smgt.sae.plugin.TrackingPluginEvent
public long getInOctets()
getInOctets
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getInOctets
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setInOctets(long inOctets)
inOctets
- - number of octets received from user (64bit)public long getOutOctets()
getOutOctets
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getOutOctets
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setOutOctets(long outOctets)
outOctets
- - number of octets sent to user (64bit)public long getTotalOctets()
getTotalOctets
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getTotalOctets
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setTotalOctets(long totalOctets)
outOctets
- - number of octets sent to user (64bit)public long getInPackets()
getInPackets
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getInPackets
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setInPackets(long packets_in)
packets_in
- - The number of packets transfered from this servicepublic long getOutPackets()
getOutPackets
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getOutPackets
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setOutPackets(long packets_out)
packets_out
- - The number of packets transfered from this servicepublic long getIpv6InOctets()
getIpv6InOctets
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getIpv6InOctets
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setIpv6InOctets(long ipv6InOctets)
inOctets
- - number of ipv6 octets received from user (64bit)public long getIpv6OutOctets()
getIpv6OutOctets
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getIpv6OutOctets
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setIpv6OutOctets(long ipv6OutOctets)
outOctets
- - number of ipv6 octets sent to user (64bit)public long getIpv6TotalOctets()
getIpv6TotalOctets
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getIpv6TotalOctets
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setIpv6TotalOctets(long ipv6TotalOctets)
outOctets
- - number of ipv6 octets sent to user (64bit)public long getIpv6InPackets()
getIpv6InPackets
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getIpv6InPackets
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setIpv6InPackets(long ipv6_packets_in)
packets_in
- - The number of ipv6 packets transfered from this servicepublic long getIpv6OutPackets()
getIpv6OutPackets
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getIpv6OutPackets
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setIpv6OutPackets(long ipv6_packets_out)
packets_out
- - The number of ipv6 packets transfered from this servicepublic int getDownstreamBandwidth()
getDownstreamBandwidth
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getDownstreamBandwidth
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getDownstreamBandwidth
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setDownstreamBandwidth(int bandwidth)
bandwidth
- - Service down stream bandwidthpublic int getUpstreamBandwidth()
getUpstreamBandwidth
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getUpstreamBandwidth
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getUpstreamBandwidth
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setUpstreamBandwidth(int bandwidth)
bandwidth
- - Service up stream bandwidthpublic void setProperty(java.lang.String key, java.lang.String value)
key
- - custom attribute namevalue
- - custom attribute valuepublic java.lang.String[] getProperty()
getProperty
in interface net.juniper.smgt.sae.plugin.PluginEvent
public java.lang.String[] getUserProperty()
getUserProperty
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getUserProperty
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getUserProperty
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setUserProperty(java.lang.String key, java.lang.String value)
key
- - the attribute namevalue
- - the attribute valuepublic net.juniper.smgt.sae.session.SessionProperties getUserSessionProperties()
getUserSessionProperties
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getUserSessionProperties
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getUserSessionProperties
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public int getSessionTime()
getSessionTime
in interface net.juniper.smgt.sae.plugin.InterimTrackingPluginEvent
getSessionTime
in interface net.juniper.smgt.sae.plugin.StopTrackingPluginEvent
public void setSessionTime(long sTime)
sTime
- - session time in milliseconds.public int getOperational()
getOperational
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getOperational
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent
public void setOperational(int operational)
operational
- 0=not operational, 1=operationalpublic java.lang.String getHostName()
getHostName
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setHostName(java.lang.String hostName)
hostName
- - Host namepublic java.lang.String getRouterName()
getRouterName
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setRouterName(java.lang.String routerName)
routerName
- - name of the routerpublic java.lang.String getInterfaceName()
getInterfaceName
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setInterfaceName(java.lang.String interfaceName)
interfaceName
- - interface namepublic java.lang.String getInterfaceAlias()
getInterfaceAlias
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setInterfaceAlias(java.lang.String interfaceAlias)
interfaceAlias
- - interface aliaspublic java.lang.String getInterfaceDescr()
getInterfaceDescr
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setInterfaceDescr(java.lang.String interfaceDesc)
interfaceDesc
- - interface descriptionpublic long getInterfaceSpeed()
getInterfaceSpeed
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setInterfaceSpeed(long speed)
speed
- - Interface speedpublic java.lang.String getPortId()
getPortId
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setPortId(java.lang.String portId)
portId
- - Nas Port Idpublic int getNasPort()
getNasPort
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setNasPort(int nasPort)
nasPort
- - Nas portpublic int getNasIp()
getNasIp
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setNasIp(byte[] nasIp)
nasIp
- -ERX IP Addresspublic int getUserIpAddress()
getUserIpAddress
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setUserIpAddress(byte[] userIpAddr)
userIpAddr-
- User IPv4 addresspublic java.lang.String[] getIfRadiusClass()
getIfRadiusClass
in interface net.juniper.smgt.sae.plugin.PluginEvent
public java.lang.String getServiceBundle()
getServiceBundle
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setServiceBundle(java.lang.String serviceBundle)
serviceBundle-
- service bundle for the subscriberpublic java.lang.String getLoginName()
getLoginName
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setLoginName(java.lang.String loginName)
loginName
- - subscriber login namepublic java.lang.String getPrimaryUserName()
getPrimaryUserName
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setPrimaryUserName(java.lang.String primaryUsername)
primaryUsername-
- name that was used to authenticatepublic java.lang.String getAccountingId()
getAccountingId
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setAccountingId(java.lang.String acctId)
acctId
- -user accounting IDpublic java.lang.String getUserDn()
getUserDn
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setUserDn(java.lang.String userDn)
userDn
- - The user DNpublic int getEventTime()
getEventTime
in interface net.juniper.smgt.sae.plugin.PluginEvent
public long getEventTimeMillisecond()
getEventTimeMillisecond
in interface net.juniper.smgt.sae.plugin.PluginEvent
public java.lang.String getUserMacAddress()
getUserMacAddress
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setUserMacAddress(java.lang.String userMacAddr)
userMacAddr-
- MAC addresspublic byte[] getDhcpPacket()
getDhcpPacket
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setDhcpPacket(byte[] dhcpPacket)
dhcpPacket
- -DHCP packetpublic java.lang.String getUserType()
getUserType
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setUserType(java.lang.String userType)
userType
- -user typepublic java.lang.String getUserSessionHandle()
getUserSessionHandle
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setUserSessionHandle(java.lang.String userSessionHandle)
userSessionHandle
- - owner + VirtualRouter + accounting session id
(e.g. "SAE:jane:1113315547138:0@vr1").public java.net.InetAddress getUserInetAddress()
getUserInetAddress
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setUserInetAddress(java.net.InetAddress userInetAddr)
userInetAddr
- - user InetAddresspublic java.net.InetAddress getNasInetAddress()
getNasInetAddress
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setNasInetAddress(java.net.InetAddress nasInetAddr)
nasInetAddr
- -IP address the virtual routerpublic java.lang.String getRouterType()
getRouterType
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setRouterType(java.lang.String routerType)
routerType
- - router typepublic java.lang.String getCallingStationId()
getCallingStationId
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setCallingStationId(java.lang.String stationId)
stationId-
- Calling-Station-Idpublic net.juniper.smgt.sae.session.SessionProperties getSessionProperties()
getSessionProperties
in interface net.juniper.smgt.sae.plugin.PluginEvent
public java.lang.String[] getLocalQosProfile()
getLocalQosProfile
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setLocalQosProfile(java.lang.String[] localQosProfile)
localQosProfile
- - local qos profilespublic net.juniper.smgt.sae.session.SessionProperties getLocalQosProfiles()
getLocalQosProfiles
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setLocalQosProfiles(java.util.TreeSet localQosProfile)
localQosProfile
- - local qos profilespublic java.lang.String getVpnId()
getVpnId
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setVpnId(java.lang.String vpnId)
vpnId
- - vpn Idpublic java.net.InetAddress getRemoteTunnelInetAddress()
getRemoteTunnelInetAddress
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setRemoteTunnelInetAddress(java.net.InetAddress remoteTunnelInetAddr)
remoteTunnelInetAddr
- - InetAddress of the far endpublic java.net.InetAddress getLocalTunnelInetAddress()
getLocalTunnelInetAddress
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setLocalTunnelInetAddress(java.net.InetAddress localTunnelInetAddr)
localTunnelInetAddr
- - InetAddress of the local endpublic int getUserIpMask()
getUserIpMask
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setUserIpMask(int userIpMask)
userIpMask
- - subscriber IP maskpublic byte[] getFramedIpv6Prefix()
getFramedIpv6Prefix
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setFramedIpv6Prefix(byte[] framedIpv6Prefix)
framedIpv6Prefix
- - framed IPv6 prefixpublic java.util.Collection getDelegatedIpv6Prefix()
getDelegatedIpv6Prefix
in interface net.juniper.smgt.sae.plugin.PluginEvent
public boolean isSyncStopEvent()
isSyncStopEvent
in interface net.juniper.smgt.sae.plugin.PluginEvent
public void setRatingGroup(long ratingGroup)
public long getRatingGroup()
getRatingGroup
in interface net.juniper.smgt.sae.plugin.InterimServiceTrackingPluginEvent
getRatingGroup
in interface net.juniper.smgt.sae.plugin.StartServiceTrackingPluginEvent
getRatingGroup
in interface net.juniper.smgt.sae.plugin.StopServiceTrackingPluginEvent