Cisco Systems, Inc.

com.pcube.apps.engage.apply
Class BWCPeer

java.lang.Object
  extended by com.pcube.apps.engage.apply.BWCPeer

public class BWCPeer
extends java.lang.Object

A wrapper of BWController that maps the BWController properties to BWC properties in the SML. The main difference from the backend class is the PIR value. see PIRCalculator

Author:
rafis

Method Summary
 AssuranceLevel getAssuranceLevel()
          for primary BWCs it's the subscriber relative priority
 long getCir()
           
 int getGcIdx()
          Global Controller index.
 long getPir()
           
 boolean isPrimary()
           
 boolean isSubBWC()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCir

public long getCir()
Returns:
Returns the cir.

getGcIdx

public int getGcIdx()
Global Controller index. for primary BWC always linked to total GC

Returns:
Returns the gcIdx. -1 for primary BWCs

isPrimary

public boolean isPrimary()
Returns:
Returns the isPrimary.

isSubBWC

public boolean isSubBWC()
Returns:
Returns the isSubBWC.

getPir

public long getPir()
Returns:
Returns the pir.

getAssuranceLevel

public AssuranceLevel getAssuranceLevel()
for primary BWCs it's the subscriber relative priority

Returns:
Returns the assuranceLevel.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.