All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tc.message.GetTimeSlicesMessage

java.lang.Object
   |
   +----connection.Message
           |
           +----tc.message.GetTimeSlicesMessage

public class GetTimeSlicesMessage
extends Message
GetTimeSlicesMessage is a specialized message for asking time slices from the database. The request is valid for time slices that fall (entirely or partially) between the specified start and end times, see the constructor for details.

Version:
0.30, 1998/04/01
Author:
FRED development team, Antti Viljamaa, Jukka Viljamaa
See Also:
Message, TimeSlice, GetTimeSlicesMessage

Variable Index

 o timeSlice
The time slice representing a period of time from which time slices are fetched.

Constructor Index

 o GetTimeSlicesMessage(byte, TimeSlice)
Initializes a new GetTimeSlicesMessage object with the given message id and start and end times.
 o GetTimeSlicesMessage(TimeSlice)
Initializes a new GetTimeSlicesMessage object with the given start and end times.

Method Index

 o getTimeSlice()
Returns the time slice representing a period of time from which time slices are fetched.
 o setTimeSlice(TimeSlice)
Sets the time slice representing a period of time from which time slices are fetched.

Variables

 o timeSlice
 private TimeSlice timeSlice
The time slice representing a period of time from which time slices are fetched.

Constructors

 o GetTimeSlicesMessage
 public GetTimeSlicesMessage(byte id,
                             TimeSlice ts)
Initializes a new GetTimeSlicesMessage object with the given message id and start and end times.

Parameters:
id - The optional message id. The user can use this field to separate different messages that use this same class.
timeSlice - Represents the period of from which time slices are fetched.
 o GetTimeSlicesMessage
 public GetTimeSlicesMessage(TimeSlice ts)
Initializes a new GetTimeSlicesMessage object with the given start and end times.

Parameters:
timeSlice - Represents the period of from which time slices are fetched.

Methods

 o getTimeSlice
 public TimeSlice getTimeSlice()
Returns the time slice representing a period of time from which time slices are fetched.

 o setTimeSlice
 public void setTimeSlice(TimeSlice ts)
Sets the time slice representing a period of time from which time slices are fetched.


All Packages  Class Hierarchy  This Package  Previous  Next  Index