com.wiley.posa3.partialacquisition
Class FetchNEComponents

java.lang.Object
  extended bycom.wiley.posa3.partialacquisition.FetchNEComponents
All Implemented Interfaces:
Request

public class FetchNEComponents
extends java.lang.Object
implements Request

The FetchNEComponents class contains the main logic for retrieving the details of the components of the network element. It implements the Request interface, so that it can be scheduled by the Scheduler.

Version:
1.0
Author:
Michael Kircher, Prashant Jain

Constructor Summary
FetchNEComponents(java.lang.String neId)
          Constructor.
 
Method Summary
 void call()
          Method that is invoked by the scheduler and does the actual work.
 boolean canRun()
          Method that is invoked by the scheduler to see if the request can be executed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FetchNEComponents

public FetchNEComponents(java.lang.String neId)
Constructor.

Parameters:
neId - the Id of the Network element whose components need to be fetched.
Method Detail

call

public void call()
Method that is invoked by the scheduler and does the actual work.

Specified by:
call in interface Request

canRun

public boolean canRun()
Method that is invoked by the scheduler to see if the request can be executed.

Specified by:
canRun in interface Request
Returns:
boolean true if request can be executed, false otherwise.


Copyright 2004 John Wiley and Sons. All Rights Reserved.