com.addc.commons.slp.SlpEnumeration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of addc-slp Show documentation
Show all versions of addc-slp Show documentation
The addc-slp library supplies client classes for registering objects with a Service Location Protocol Daemon and
for looking theses objects up later.
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