All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cybergarage.upnp.event.SubscriberList Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
/******************************************************************
*
*	CyberUPnP for Java
*
*	Copyright (C) Satoshi Konno 2002
*
*	File: SubscriberList.java
*
*	Revision;
*
*	01/31/03
*		- first revision.
*	06/18/03
*		- Fixed to catch ArrayIndexOutOfBounds.
*
******************************************************************/

package org.cybergarage.upnp.event;

import java.util.*;

public class SubscriberList extends Vector
{
	////////////////////////////////////////////////
	//	Constructor
	////////////////////////////////////////////////
	
	public SubscriberList() 
	{
	}
	
	////////////////////////////////////////////////
	//	Methods
	////////////////////////////////////////////////
	
	public Subscriber getSubscriber(int n)
	{
		Object obj = null;
		try {
			obj = get(n);
		}
		catch (Exception e) {}
		return (Subscriber)obj;
	}
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy