ch.ethz.iks.slp.impl
Class SLPCore

Package class diagram package SLPCore
java.lang.Object
  extended by ch.ethz.iks.slp.impl.SLPCore

public abstract class SLPCore
extends Object

the core class of the jSLP implementation. ch.ethz.iks.slp.ServiceLocationManager inherits from this class.

Since:
0.6
Author:
Jan S. Rellermeyer, IKS, ETH Zurich
See Also:
ch.ethz.iks.slp.impl.ServiceLocationManager

Field Summary
protected static Constructor advertiser
          the constructor for Advertiser instances, if an implementation exists.
protected static Constructor locator
          the constructor for Locator instances, if an implementation exists.
protected static PlatformAbstraction platform
           
 
Constructor Summary
SLPCore()
           
 
Method Summary
protected static void destroyMulticastSocket()
           
static List findScopes()
          get the list of all available scopes.
protected static void init()
           
protected static void initMulticastSocket()
           
static void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

platform

protected static PlatformAbstraction platform

advertiser

protected static final Constructor advertiser
the constructor for Advertiser instances, if an implementation exists.


locator

protected static final Constructor locator
the constructor for Locator instances, if an implementation exists.

Constructor Detail

SLPCore

public SLPCore()
Method Detail

init

protected static void init()

destroyMulticastSocket

protected static void destroyMulticastSocket()

initMulticastSocket

protected static void initMulticastSocket()

findScopes

public static List findScopes()
                       throws ServiceLocationException
get the list of all available scopes.

Returns:
a List of all available scopes. RFC 2614 proposes Vector but jSLP returns List.
Throws:
ServiceLocationException - in case of an exception in the underlying framework.

stop

public static void stop()


Copyright © 2014 universAAL Consortium. All Rights Reserved.