gov.nist.antd.restoration01
Class Restoration01.BackupProcess

java.lang.Object
  |
  +--gov.nist.antd.restoration01.Restoration01.BackupProcess
Enclosing class:
Restoration01

public class Restoration01.BackupProcess
extends java.lang.Object

Class - BackupProcess Handle the backup path find and switch over active LSP's traffic to the backup LSP


Field Summary
 NHLFE activeNHLFE
           
 java.util.Vector backupList
           
 int backupListSize
           
 NHLFE backupnhlfe
           
 int count
           
 ForwardingInformation forwardingInfo
           
 int index
           
 int ingressLSRID
           
 boolean isrlogon
           
 int localLSPID
           
 java.io.FileWriter rlog
           
 double startTime
           
 
Constructor Summary
Restoration01.BackupProcess(int ingresslsrid, int locallspid, ForwardingInformation finfo, NHLFE activenhlfe, java.util.Vector backuplist)
          Contructor Create BackupProcess; Initialize the memeber var.
 
Method Summary
 void checkBackupResource()
          Method checkBackupResource Check the Backup LSP's Resource
 void noBackupPath()
          Method noBackupPath When received resource check message nofities there is no enough resource
 void receiveRecourceCheckResult(ResourceCheckMessage message)
          Method receiveResourceCheckResult Called when receiving the Resouce check result message
 void writelog(java.lang.String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ingressLSRID

public int ingressLSRID

localLSPID

public int localLSPID

activeNHLFE

public NHLFE activeNHLFE

forwardingInfo

public ForwardingInformation forwardingInfo

backupList

public java.util.Vector backupList

backupListSize

public int backupListSize

index

public int index

backupnhlfe

public NHLFE backupnhlfe

startTime

public double startTime

rlog

public java.io.FileWriter rlog

isrlogon

public boolean isrlogon

count

public int count
Constructor Detail

Restoration01.BackupProcess

public Restoration01.BackupProcess(int ingresslsrid,
                                   int locallspid,
                                   ForwardingInformation finfo,
                                   NHLFE activenhlfe,
                                   java.util.Vector backuplist)
Contructor Create BackupProcess; Initialize the memeber var.

Parameters:
ingresslsrid - - Ingress LSR ID
locallspid - - Local LSP Id
finfo - - ForwardingInformation
activenhlfe - - Active NHLFE
backuplist - - Backup LSP List
Method Detail

checkBackupResource

public void checkBackupResource()
Method checkBackupResource Check the Backup LSP's Resource


receiveRecourceCheckResult

public void receiveRecourceCheckResult(ResourceCheckMessage message)
Method receiveResourceCheckResult Called when receiving the Resouce check result message

Parameters:
message - - Resource Check Message

noBackupPath

public void noBackupPath()
Method noBackupPath When received resource check message nofities there is no enough resource


writelog

public void writelog(java.lang.String str)