public interface PcepClientDriver extends PcepClient
| Modifier and Type | Method and Description |
|---|---|
boolean |
connectClient()
Announce to the Pcep agent that this pcc client has connected.
|
void |
init(PccId pccId,
PcepVersion pcepVersion,
PcepPacketStats pktStats)
Initializes the behavior.
|
boolean |
isHandshakeComplete()
Checks whether the handshake is complete.
|
void |
removeConnectedClient()
Remove this pcc client from the Pcep agent.
|
void |
setAgent(PcepAgent agent)
Sets the Pcep agent to be used.
|
void |
setChannel(org.jboss.netty.channel.Channel channel)
Sets the associated Netty channel for this pcc.
|
void |
setConnected(boolean connected)
Sets whether the pcc is connected.
|
void |
setPcDeadTime(byte deadTime)
Sets the dead time for this pcc.
|
void |
setPcKeepAliveTime(byte keepAliveTime)
Sets the keep alive time for this pcc.
|
void |
setPcSessionId(byte sessionId)
Sets the session id for this pcc.
|
void |
setPcVersion(PcepVersion pcepVersion)
Sets the PCEP version for this pcc.
|
addNode, addSyncMsgToList, capability, channelId, delegationInfo, deleteNode, disconnectClient, factory, getPccId, getStringId, getSyncMsgList, handleMessage, initializeSyncMsgList, isConnected, isOptical, labelDbSyncStatus, lspDbSyncStatus, removeSyncMsgList, sendMessage, sendMessage, setCapability, setLabelDbSyncStatus, setLspAndDelegationInfo, setLspDbSyncStatusvoid setAgent(PcepAgent agent)
agent - the agent to set.boolean connectClient()
void removeConnectedClient()
void setPcVersion(PcepVersion pcepVersion)
pcepVersion - the version to set.void setChannel(org.jboss.netty.channel.Channel channel)
channel - the Netty channelvoid setPcKeepAliveTime(byte keepAliveTime)
keepAliveTime - the keep alive time to set.void setPcDeadTime(byte deadTime)
deadTime - the dead timer value to set.void setPcSessionId(byte sessionId)
sessionId - the session id value to set.void setConnected(boolean connected)
connected - whether the pcc is connectedvoid init(PccId pccId, PcepVersion pcepVersion, PcepPacketStats pktStats)
pccId - id of pccpcepVersion - Pcep versionpktStats - Pcep Packet Statsboolean isHandshakeComplete()