dk.itu.smds.torusman
Class Service

java.lang.Object
  extended by dk.itu.smds.torusman.Service

public class Service
extends java.lang.Object

The class Service that describes the url of a discovered service on the network.


Field Summary
static javax.bluetooth.UUID TORUS_UUID
          The Constant TORUS_UUID.
 
Constructor Summary
Service(java.lang.String url)
          Instantiates a new service.
 
Method Summary
 java.lang.String getURL()
          Gets the URL.
 java.lang.String toString()
          Prints out meaningfull information of the service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TORUS_UUID

public static final javax.bluetooth.UUID TORUS_UUID
The Constant TORUS_UUID.

Constructor Detail

Service

public Service(java.lang.String url)
Instantiates a new service.

Parameters:
url - the url
Method Detail

getURL

public java.lang.String getURL()
Gets the URL.

Returns:
the uRL

toString

public java.lang.String toString()
Prints out meaningfull information of the service.

Overrides:
toString in class java.lang.Object
Returns:
the String
See Also:
Object.toString()