J-Sim v1.2.1-p7 API

drcl.intserv
Class RspecTranslator

java.lang.Object
  extended bydrcl.intserv.RspecTranslator
Direct Known Subclasses:
Translator_DCTS, Translator_GR, Translator_PTSP_EA

public abstract class RspecTranslator
extends java.lang.Object

RspecTranslator resides in an end system (e.g., the "QoS Broker") to translate the QoS requirement and the path Adspec originating from the sender to the Rspec, which is then used by the resource management protocol to set up the resource along the path.

A subclass should be created for a certain rspec type.


Constructor Summary
RspecTranslator()
           
 
Method Summary
abstract  SpecR translate(SpecAd adspec, QoSRequirement qos)
          Given the Adspec, the method returns the "minimum" Rspec that satisfies the specified QoS requirement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RspecTranslator

public RspecTranslator()
Method Detail

translate

public abstract SpecR translate(SpecAd adspec,
                                QoSRequirement qos)
Given the Adspec, the method returns the "minimum" Rspec that satisfies the specified QoS requirement. It returns null if such an Rspec does not exist.


J-Sim v1.2.1-p7 API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~