public class Controller extends Object
| Constructor and Description |
|---|
Controller() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Long> |
getMemory() |
protected PcepClientDriver |
getPcepClientInstance(PccId pccId,
int sessionID,
PcepVersion pv,
PcepPacketStats pktStats)
Creates instance of Pcep client.
|
PcepFactory |
getPcepMessageFactory1()
Returns factory version for processing pcep messages.
|
long |
getSystemStartTime()
To get system start time.
|
Long |
getUptime() |
void |
init()
Initialize internal data structures.
|
void |
run()
Tell controller that we're ready to accept pcc connections.
|
void |
start(PcepAgent ag)
Starts the pcep controller.
|
void |
stop()
Stops the pcep controller.
|
public PcepFactory getPcepMessageFactory1()
public long getSystemStartTime()
public void run()
public void init()
public Long getUptime()
protected PcepClientDriver getPcepClientInstance(PccId pccId, int sessionID, PcepVersion pv, PcepPacketStats pktStats)
pccId - pcc identifiersessionID - session idpv - pcep versionpktStats - pcep packet statisticspublic void start(PcepAgent ag)
ag - Pcep agentpublic void stop()