Added upnp-discover cli tool
This commit is contained in:
@ -35,6 +35,31 @@ class Service
|
||||
|
||||
}
|
||||
|
||||
public function getServiceType()
|
||||
{
|
||||
return $this->serviceType;
|
||||
}
|
||||
|
||||
public function getServiceId()
|
||||
{
|
||||
return $this->serviceId;
|
||||
}
|
||||
|
||||
public function getScpdUrl()
|
||||
{
|
||||
return $this->scpdUrl;
|
||||
}
|
||||
|
||||
public function getControlUrl()
|
||||
{
|
||||
return $this->controlUrl;
|
||||
}
|
||||
|
||||
public function getEventSubUrl()
|
||||
{
|
||||
return $this->eventSubUrl;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
return sprintf("Service: %s [%s]\nControl URL: %s\nEventSub URL: %s\nSCPD URL: %s\n",
|
||||
|
Reference in New Issue
Block a user