net.sbbi.upnp
Class ServiceEventSubscription

java.lang.Object
  extended by net.sbbi.upnp.ServiceEventSubscription

public class ServiceEventSubscription
extends Object

This class is used to provide information about a subscription done via the ServicesEventing class

Version:
1.0
Author:
SuperBonBon

Constructor Summary
ServiceEventSubscription(String serviceType, String serviceId, URL serviceURL, String sid, InetAddress deviceIp, int durationTime)
           
 
Method Summary
 InetAddress getDeviceIp()
           
 int getDurationTime()
          Subcription duration in seconds
 String getServiceId()
           
 String getServiceType()
           
 URL getServiceURL()
           
 String getSID()
          The subscription ID returned by the UPNPDevice
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceEventSubscription

public ServiceEventSubscription(String serviceType,
                                String serviceId,
                                URL serviceURL,
                                String sid,
                                InetAddress deviceIp,
                                int durationTime)
Method Detail

getDeviceIp

public InetAddress getDeviceIp()

getDurationTime

public int getDurationTime()
Subcription duration in seconds

Returns:
sub duration time, 0 for an infinite time

getServiceId

public String getServiceId()

getServiceType

public String getServiceType()

getServiceURL

public URL getServiceURL()

getSID

public String getSID()
The subscription ID returned by the UPNPDevice

Returns:
subscription id


Copyright © 2010. All Rights Reserved.