public class Controller extends Object
| Modifier and Type | Field and Description |
|---|---|
org.jboss.netty.channel.Channel |
serverChannel |
| Constructor and Description |
|---|
Controller(org.onosproject.bgp.controller.BgpController bgpController)
Constructor to initialize the values.
|
| Modifier and Type | Method and Description |
|---|---|
static short |
getBgpPortNum()
Returns port number.
|
Map<String,Long> |
getMemory()
Gets run time memory.
|
long |
getSystemStartTime()
To get system start time.
|
Long |
getUptime()
Gets UP time.
|
void |
init()
Initialize internal data structures.
|
static org.jboss.netty.bootstrap.ClientBootstrap |
peerBootstrap()
Gets peer bootstrap.
|
void |
run()
Tell controller that we're ready to accept bgp peer connections.
|
void |
setBgpPortNum()
sets the isPortNumSet as true.
|
void |
start()
Starts the BGP controller.
|
void |
stop()
Stops the BGP controller.
|
public Controller(org.onosproject.bgp.controller.BgpController bgpController)
bgpController - bgp controller instancepublic long getSystemStartTime()
public void run()
public static org.jboss.netty.bootstrap.ClientBootstrap peerBootstrap()
public void init()
public Long getUptime()
public void start()
public void stop()
public static short getBgpPortNum()
public void setBgpPortNum()
Copyright © 2015. All rights reserved.