Core API 4.3

net.juniper.smgt.sae.portal
Class Usage

java.lang.Object
  |
  +--net.juniper.smgt.sae.portal.Usage

public class Usage
extends Object

Usage objects contain statistics that describe the network traffic between a user and a network resource that is controlled by an SSP service.

See Also:
Subscription.getUsage()

Method Summary
 long getBytesFromUser()
          The number of bytes sent across the network from the user to the service (i.e.
 long getBytesToUser()
          The number of bytes sent across the network from the service (i.e.
 Date getCollectionTime()
          The time and date at which these usage statistics were collected from the network.
 long getPacketsFromUser()
          The number of IP packets sent across the network from the user to the service (i.e.
 long getPacketsToUser()
          The number of IP packets sent across the network from the service (i.e.
 String toString()
          For debugging only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCollectionTime

public Date getCollectionTime()
The time and date at which these usage statistics were collected from the network.


getBytesFromUser

public long getBytesFromUser()
The number of bytes sent across the network from the user to the service (i.e. to the network resource controlled by the subscribed service), as defined by the service's network policies.


getBytesToUser

public long getBytesToUser()
The number of bytes sent across the network from the service (i.e. from the network resource controlled by the subscribed service) to the user, as defined by the service's network policies.


getPacketsFromUser

public long getPacketsFromUser()
The number of IP packets sent across the network from the user to the service (i.e. to the network resource controlled by the subscribed service), as defined by the service's network policies.


getPacketsToUser

public long getPacketsToUser()
The number of IP packets sent across the network from the service (i.e. from the network resource controlled by the subscribed service) to the user, as defined by the service's network policies.


toString

public String toString()
For debugging only. Returns a description of this Usage object.

Overrides:
toString in class Object

Core API 4.3