forked from I2P_Developers/i2p.i2p
Unmodified cybergarage-upnp from github rev 9499b03 2015-02-05 https://github.com/cybergarage/cybergarage-upnp/commits/master which is the same as rev 3ed1af9 2014-07-28 except for the addition of README.md which we aren't using. This is post-version 3.0. Omitted files: router/java/src/org/cybergarage/xml/parser/XercesParser.java router/java/src/org/cybergarage/xml/parser/XmlPullParser.java router/java/src/org/cybergarage/xml/parser/kXML2Parser.java chmod all files back to 644. Diverging from 2.1 checkin rev 59eae97dbb470d8c4a1e4dba3a9763e134bb0c53 in prep for merging. License unchanged. Compile tested only.
113 lines
2.2 KiB
Java
113 lines
2.2 KiB
Java
/******************************************************************
|
|
*
|
|
* CyberUPnP for Java
|
|
*
|
|
* Copyright (C) Satoshi Konno 2002-2003
|
|
*
|
|
* File: ServiceData.java
|
|
*
|
|
* Revision;
|
|
*
|
|
* 03/28/03
|
|
* - first revision.
|
|
* 01/06/04
|
|
* - Moved setQueryListener() and getQueryListener() to StateVariableData class.
|
|
* 03/30/05
|
|
* - Removed setDescriptionURL() and getDescriptionURL().
|
|
*
|
|
******************************************************************/
|
|
|
|
package org.cybergarage.upnp.xml;
|
|
|
|
import org.cybergarage.util.*;
|
|
import org.cybergarage.xml.*;
|
|
|
|
import org.cybergarage.upnp.event.*;
|
|
|
|
public class ServiceData extends NodeData
|
|
{
|
|
public ServiceData()
|
|
{
|
|
}
|
|
|
|
////////////////////////////////////////////////
|
|
// controlActionListenerList
|
|
////////////////////////////////////////////////
|
|
|
|
private ListenerList controlActionListenerList = new ListenerList();
|
|
|
|
public ListenerList getControlActionListenerList() {
|
|
return controlActionListenerList;
|
|
}
|
|
|
|
////////////////////////////////////////////////
|
|
// scpdNode
|
|
////////////////////////////////////////////////
|
|
|
|
private Node scpdNode = null;
|
|
|
|
public Node getSCPDNode() {
|
|
return scpdNode;
|
|
}
|
|
|
|
public void setSCPDNode(Node node) {
|
|
scpdNode = node;
|
|
}
|
|
|
|
////////////////////////////////////////////////
|
|
// SubscriberList
|
|
////////////////////////////////////////////////
|
|
|
|
private SubscriberList subscriberList = new SubscriberList();
|
|
|
|
public SubscriberList getSubscriberList() {
|
|
return subscriberList;
|
|
}
|
|
|
|
////////////////////////////////////////////////
|
|
// SID
|
|
////////////////////////////////////////////////
|
|
|
|
private String descriptionURL = "";
|
|
|
|
public String getDescriptionURL() {
|
|
return descriptionURL;
|
|
}
|
|
|
|
public void setDescriptionURL(String descriptionURL) {
|
|
this.descriptionURL = descriptionURL;
|
|
}
|
|
|
|
////////////////////////////////////////////////
|
|
// SID
|
|
////////////////////////////////////////////////
|
|
|
|
private String sid = "";
|
|
|
|
public String getSID() {
|
|
return sid;
|
|
}
|
|
|
|
public void setSID(String id) {
|
|
sid = id;
|
|
}
|
|
|
|
////////////////////////////////////////////////
|
|
// Timeout
|
|
////////////////////////////////////////////////
|
|
|
|
private long timeout = 0;
|
|
|
|
public long getTimeout()
|
|
{
|
|
return timeout;
|
|
}
|
|
|
|
public void setTimeout(long value)
|
|
{
|
|
timeout = value;
|
|
}
|
|
|
|
}
|
|
|