/* ----- BEGIN LICENSE BLOCK -----
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is the DataShare server.
*
* The Initial Developer of the Original Code is
* Ball Aerospace & Technologies Corp, Fairborn, Ohio
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s): Charles Wood <cwood@ball.com>
*
* ----- END LICENSE BLOCK ----- */
/* RCS $Id: ChannelDescriptionArray.java,v 1.1.1.1 2001/10/23 13:37:20 lizellaman Exp $
* $Log: ChannelDescriptionArray.java,v $
* Revision 1.1.1.1 2001/10/23 13:37:20 lizellaman
* initial sourceforge release
*
*/
package org.datashare.objects;
/**
* This class is used when an array of ChannelDescriptions is to be sent over the
* CommandStatus Channel, such as when the server is telling a client what types
* of Channels are available in a Session, or when the client needs to tell the
* server all the ChannelDescription type Channels to put in a Session that is to
* be created.
*/
public class ChannelDescriptionArray implements java.io.Serializable
{
/**
* this allows us to serialize this class without 'marshalling' errors.
*
*/
static final long serialVersionUID = 9034593813711480533L;
public ChannelDescription[] channelDescriptions = null;
/**
* Constructor, not very useful unless you want an empty reference to this class
*/
public ChannelDescriptionArray()
{}
/**
* Constructor, this is one to use normally
*/
public ChannelDescriptionArray(ChannelDescription channelDescriptions[])
{
this.channelDescriptions = channelDescriptions;
}
}
|