public interface PcepMetricObject
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PcepMetricObject.Builder
Builder interface with get and set functions to build Metric object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBFlag()
Returns B flag in Metric Object.
|
byte |
getBType()
Returns BType field in Metric Object.
|
boolean |
getCFlag()
Returns C flag in Metric Object.
|
int |
getMetricVal()
Returns Metric value in Metric Object.
|
byte |
getYFlag()
Returns Y flag in Metric Object.
|
void |
setBFlag(boolean value)
Sets B flag in Metric Object with specified value.
|
void |
setBType(byte value)
Sets BType field in Metric Object with specified value.
|
void |
setCFlag(boolean value)
Sets C flag in Metric Object with specified value.
|
void |
setMetricVal(int value)
Sets Metric value in Metric Object with specified value.
|
void |
setYFlag(byte value)
Sets Y flag in Metric Object with specified value.
|
int |
write(org.jboss.netty.buffer.ChannelBuffer bb)
Writes the Metric Object into channel buffer.
|
int getMetricVal()
void setMetricVal(int value)
value - Metric valuebyte getYFlag()
void setYFlag(byte value)
value - Y flagboolean getCFlag()
void setCFlag(boolean value)
value - C flagboolean getBFlag()
void setBFlag(boolean value)
value - B flagbyte getBType()
void setBType(byte value)
value - BType fieldint write(org.jboss.netty.buffer.ChannelBuffer bb) throws PcepParseException
bb - channel bufferPcepParseException - while writing METRIC object into Channel Buffer.Copyright © 2015. All rights reserved.