All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tc.message.TimeSlicesMessage

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

public class TimeSlicesMessage
extends Message
TimeSlicesMessage is a specialized message for sending (a vector of) time slices from the database to the client.

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

Variable Index

 o timeSlices
A vector of TimeSlice objects.

Constructor Index

 o TimeSlicesMessage(byte, Vector)
Initializes a new TimeSlicesMessage object with the given message id and time slice vector.
 o TimeSlicesMessage(Vector)
Initializes a new TimeSlicesMessage object with the given time slice vector.

Method Index

 o getTimeSlices()
Gets the vector of TimeSlice objects.
 o setTimeSlices(Vector)
Sets the vector of TimeSlice objects.

Variables

 o timeSlices
 private Vector timeSlices
A vector of TimeSlice objects.

Constructors

 o TimeSlicesMessage
 public TimeSlicesMessage(byte id,
                          Vector slices)
Initializes a new TimeSlicesMessage object with the given message id and time slice vector.

Parameters:
id - The optional message id. The user can use this field to separate different messages that use this same class.
slices - A vector of TimeSlice objects.
 o TimeSlicesMessage
 public TimeSlicesMessage(Vector slices)
Initializes a new TimeSlicesMessage object with the given time slice vector.

Parameters:
slices - A vector of TimeSlice objects.

Methods

 o getTimeSlices
 public Vector getTimeSlices()
Gets the vector of TimeSlice objects.

 o setTimeSlices
 public void setTimeSlices(Vector v)
Sets the vector of TimeSlice objects.


All Packages  Class Hierarchy  This Package  Previous  Next  Index