Update of /cvsroot/velcro/velcro/main/src/java/velcro/broadcaster
In directory sc8-pr-cvs1:/tmp/cvs-serv13994/velcro/broadcaster
Added Files:
BroadcastModeContainer.java
Log Message:
Initial add.
--- NEW FILE: BroadcastModeContainer.java ---
/*
* BroadcastModesContainer.java
*
* This file is part of Velcro.
*
* Velcro is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* Velcro is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with Velcro; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Copyright 2002, Mike Heath
*
* Created on November 27, 2002, 8:34 PM
* Created by Mike Heath (heathm at users.sourceforge.net)
* $Author: heathm $
* $Date: 2002/12/03 15:01:35 $
* $Revision: 1.1 $
*/
package velcro.broadcaster;
import java.util.Collection;
/**
* Holds two collections for handling controller lists and broadcast lists.
*
*<p>This is probably a dumb name and should be changed in the future.
*
* @author Mike Heath <mike (at) users.sourceforge.net>
*/
class BroadcastModeContainer {
private Collection broadcasters;
private Collection controllers;
/** Creates a new instance of BroadcastModesContainer */
public BroadcastModeContainer(Collection broadcasters, Collection controllers) {
setBroadcasters(broadcasters);
setControllers(controllers);
}
/**
* Getter for property broadcasters.
*
* @return Value of property broadcasters.
*/
public java.util.Collection getBroadcasters() {
return broadcasters;
}
/**
* Setter for property broadcasters.
*
* @param broadcasters New value of property broadcasters.
*/
public void setBroadcasters(java.util.Collection broadcasters) {
this.broadcasters = broadcasters;
}
/**
* Getter for property controllers.
*
* @return Value of property controllers.
*/
public java.util.Collection getControllers() {
return controllers;
}
/**
* Setter for property controllers.
*
* @param controllers New value of property controllers.
*/
public void setControllers(java.util.Collection controllers) {
this.controllers = controllers;
}
}
/*
* $Log: BroadcastModeContainer.java,v $
* Revision 1.1 2002/12/03 15:01:35 heathm
* Initial add.
*
*/
|