upnp.device.core
Class BrisaService

java.lang.Object
  extended by upnp.device.core.BrisaService
All Implemented Interfaces:
java.util.Observer

public class BrisaService
extends java.lang.Object
implements java.util.Observer

Service do BRisa

Author:
wendell

Constructor Summary
BrisaService(java.lang.String serviceType)
           
BrisaService(java.lang.String serviceId, java.lang.String serviceType)
           
 
Method Summary
 void addAction(BrisaAction action)
           
 void addAction(java.lang.String name)
           
 void addEventSubscription(BrisaEventSubscription eventSub)
           
 void addStateVariable(BrisaStateVariable stateVariable)
           
 void clearActionList()
           
 BrisaAction getAction(java.lang.String name)
           
 java.util.ArrayList<BrisaAction> getActionList()
           
 java.lang.String getControlURL()
           
 java.util.ArrayList<BrisaEventSubscription> getEventSubscriptions()
           
 java.lang.String getEventSubURL()
           
 org.jdom.Document getScdpDocument()
           
 java.lang.String getScpdURL()
           
 java.lang.String getServiceId()
           
 java.lang.String getServiceType()
           
 BrisaStateVariable getStateVariable(java.lang.String name)
           
 java.util.ArrayList<BrisaStateVariable> getStateVariableList()
           
 java.lang.String getUdn()
           
 void setControlURL(java.lang.String controlURL)
           
 void setDescriptonFile(org.jdom.Document scdpDocument)
           
 void setDescriptonFile(java.lang.String scdpString)
           
 void setEventSubURL(java.lang.String eventSubURL)
           
 void setServiceId(java.lang.String serviceId)
           
 void setServiceType(java.lang.String serviceType)
           
 void setUdn(java.lang.String udn)
           
 void update(java.util.Observable o, java.lang.Object arg)
          States Variables sending events
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrisaService

public BrisaService(java.lang.String serviceId,
                    java.lang.String serviceType)

BrisaService

public BrisaService(java.lang.String serviceType)
Method Detail

setDescriptonFile

public void setDescriptonFile(org.jdom.Document scdpDocument)

setDescriptonFile

public void setDescriptonFile(java.lang.String scdpString)

addAction

public void addAction(java.lang.String name)

addAction

public void addAction(BrisaAction action)

getAction

public BrisaAction getAction(java.lang.String name)

clearActionList

public void clearActionList()

addStateVariable

public void addStateVariable(BrisaStateVariable stateVariable)

getStateVariable

public BrisaStateVariable getStateVariable(java.lang.String name)

getStateVariableList

public java.util.ArrayList<BrisaStateVariable> getStateVariableList()

getEventSubscriptions

public java.util.ArrayList<BrisaEventSubscription> getEventSubscriptions()

addEventSubscription

public void addEventSubscription(BrisaEventSubscription eventSub)

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
States Variables sending events

Specified by:
update in interface java.util.Observer

getScpdURL

public java.lang.String getScpdURL()

getActionList

public java.util.ArrayList<BrisaAction> getActionList()

getScdpDocument

public org.jdom.Document getScdpDocument()

getUdn

public java.lang.String getUdn()

setUdn

public void setUdn(java.lang.String udn)

getServiceId

public java.lang.String getServiceId()

setServiceId

public void setServiceId(java.lang.String serviceId)

getServiceType

public java.lang.String getServiceType()

setServiceType

public void setServiceType(java.lang.String serviceType)

getEventSubURL

public java.lang.String getEventSubURL()

setEventSubURL

public void setEventSubURL(java.lang.String eventSubURL)

getControlURL

public java.lang.String getControlURL()

setControlURL

public void setControlURL(java.lang.String controlURL)