All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.addc.commons.slp.SlpEnumeration Maven / Gradle / Ivy

Go to download

The addc-slp library supplies client classes for registering objects with a Service Location Protocol Daemon and for looking theses objects up later.

There is a newer version: 2.6
Show newest version
package com.addc.commons.slp;

import java.util.Enumeration;
import java.util.NoSuchElementException;

import javax.security.auth.Destroyable;

/**
 * The SlpEnumeration is a marker interface for enumerating
 * responses and requests
 */
public interface SlpEnumeration extends Enumeration, Destroyable {

    /**
     * Get the next SLP response received.
     * 
     * @return the next SLP response received.
     * @exception ServiceLocationException
     *                if an error is received.
     * @exception NoSuchElementException
     *                if no more responses.
     */
    T next() throws ServiceLocationException, NoSuchElementException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy