|
Cisco Systems Inc. Confidential | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.scms.api.sce.prpc.VLink
public class VLink
Represents a Vlink with name, Id, Direction, PIR, CIR, AL, AGC Offset.
| Field Summary | |
|---|---|
static int |
DOWNSTREAM
|
static int |
UPSTREAM
|
| Constructor Summary | |
|---|---|
VLink(int vlinkId,
java.lang.String vlinkName,
int direction,
int agcOffset,
int vlinkPIR,
int vlinkCIR)
Builds a new Vlink |
|
VLink(int vlinkId,
java.lang.String vlinkName,
int direction,
int agcOffset,
int vlinkPIR,
int vlinkCIR,
int vlinkAlValue)
Builds a new Vlink |
|
| Method Summary | |
|---|---|
void |
addChannel(Channel channel)
Add a new channel to Vlink |
void |
addChannel(Channel[] channels)
Add an array of channels to Vlink |
int |
getAgcOffset()
|
java.util.ArrayList<Channel> |
getChannels()
|
int |
getDirection()
|
int |
getVlinkAlValue()
|
int |
getVlinkCIR()
|
int |
getVlinkId()
|
java.lang.String |
getVlinkName()
|
int |
getVlinkPIR()
|
void |
setAgcOffset(int agcOffset)
Sets the given value as the AgcOffset of VLink. |
void |
setDirection(int direction)
Sets the given value as the Direction of VLink and its defualt channel. |
void |
setVlinkAlValue(int vlinkAlValue)
Sets the given value as the AlValue of VLink and its defualt channel. |
void |
setVlinkCIR(int vlinkCIR)
Sets the given value as the CIR of VLink and its defualt channel. |
void |
setVlinkId(int vlinkId)
Sets the given value as the ID of VLink and its defualt channel. |
void |
setVlinkName(java.lang.String vlinkName)
Sets the given value as the name of VLink and its defualt channel. |
void |
setVlinkPIR(int vlinkPIR)
Sets the given value as the PIR of VLink and its defualt channel. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int UPSTREAM
public static final int DOWNSTREAM
| Constructor Detail |
|---|
public VLink(int vlinkId,
java.lang.String vlinkName,
int direction,
int agcOffset,
int vlinkPIR,
int vlinkCIR,
int vlinkAlValue)
vlinkId - - Virtual Link IdvlinkName - - Virtual Link Namedirection - - Direction Upstream/DownstreamagcOffset - - AGC OffsetvlinkPIR - - Peak Information RatevlinkCIR - - Committed Information RatevlinkAlValue - - Assurance level
public VLink(int vlinkId,
java.lang.String vlinkName,
int direction,
int agcOffset,
int vlinkPIR,
int vlinkCIR)
vlinkId - - Virtual Link IdvlinkName - - Virtual Link Namedirection - - Direction Upstream/DownstreamagcOffset - - AGC OffsetvlinkPIR - - Peak Information RatevlinkCIR - - Committed Information Rate| Method Detail |
|---|
public void addChannel(Channel channel)
channel - - New Channel to be addedpublic void addChannel(Channel[] channels)
channels - - New Channels to be addedpublic int getVlinkId()
public void setVlinkId(int vlinkId)
vlinkId - the vlinkId to setpublic java.lang.String getVlinkName()
public void setVlinkName(java.lang.String vlinkName)
vlinkName - the vlinkName to setpublic int getDirection()
public void setDirection(int direction)
direction - the direction to setpublic int getAgcOffset()
public void setAgcOffset(int agcOffset)
agcOffset - the agcOffset to setpublic int getVlinkPIR()
public void setVlinkPIR(int vlinkPIR)
vlinkPIR - the vlinkPIR to setpublic int getVlinkCIR()
public void setVlinkCIR(int vlinkCIR)
vlinkCIR - the vlinkCIR to setpublic int getVlinkAlValue()
public void setVlinkAlValue(int vlinkAlValue)
vlinkAlValue - the vlinkAlValue to setpublic java.util.ArrayList<Channel> getChannels()
public java.lang.String toString()
toString in class java.lang.Object
|
Cisco Systems Inc. Confidential | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||