Java Globus API: Class GaraReservationSpecification

org.globus.gara
Class GaraReservationSpecification

java.lang.Object
  |
  +--org.globus.rsl.RslAttributes
        |
        +--org.globus.gara.GaraReservationSpecification

public class GaraReservationSpecification
extends RslAttributes

This class is an extension of org.globus.RslAttributes which provides specialized constructors for creating a data structure which contains apropriate specification parameters for creating and modifying reservations.

See Also:
GaraReservation.create(java.lang.String, org.globus.gara.GaraReservationSpecification), GaraReservation.modify(org.globus.gara.GaraReservationSpecification)

Fields inherited from class org.globus.rsl.RslAttributes
rslTree
 
Constructor Summary
GaraReservationSpecification()
          Default constructor.
GaraReservationSpecification(long start_time, long duration, long node_count)
           
GaraReservationSpecification(java.lang.String endpoint_a, java.lang.String endpoint_b, long start_time, long duration, long bandwidth, java.lang.String protocol, boolean low_latency)
           
 
Methods inherited from class org.globus.rsl.RslAttributes
add, addMulti, addVariable, get, getFirstValue, getMap, getMulti, getRelation, getRslNode, getSingle, getVariables, remove, remove, removeMap, removeVariable, set, setMulti, toRSL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaraReservationSpecification

public GaraReservationSpecification()
Default constructor. Initializes data structure to default values.

GaraReservationSpecification

public GaraReservationSpecification(java.lang.String endpoint_a,
                                    java.lang.String endpoint_b,
                                    long start_time,
                                    long duration,
                                    long bandwidth,
                                    java.lang.String protocol,
                                    boolean low_latency)
Parameters:
endpoint_a - The IP address of endpoint a
endpoint_b - The IP address of endpoint b
start_time - The start time in seconds or -1 for "now"
duration - The duration in seconds of the reservation
bandwidth - The bandwidth requested in the reservation
protocol - A string that can be either "TCP" or "UDP" and indicates the protocol to use during the reservation
low_latency - An optional preference for getting low-latency warnings

GaraReservationSpecification

public GaraReservationSpecification(long start_time,
                                    long duration,
                                    long node_count)
Parameters:
start_time - The start time in seconds or -1 for "now"
duration - The duration in seconds of the reservation
node_count - The