Class SLEnumerationImpl

java.lang.Object
org.sblim.slp.internal.ua.SLEnumerationImpl
All Implemented Interfaces:
java.util.Enumeration<java.lang.Object>, ServiceLocationEnumeration

public class SLEnumerationImpl extends java.lang.Object implements ServiceLocationEnumeration
SLEnumerationImpl
  • Constructor Summary

    Constructors
    Constructor
    Description
    SLEnumerationImpl(RequestMessage pReqMsg, java.util.List<java.net.InetAddress> pDAList)
    Ctor.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    For diagnostic only!
    boolean
     
    boolean
     
    java.lang.Object
    This implementation can throw RuntimeExceptions.
    java.lang.Object
     
    java.lang.Object
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Enumeration

    asIterator
  • Constructor Details

    • SLEnumerationImpl

      public SLEnumerationImpl(RequestMessage pReqMsg, java.util.List<java.net.InetAddress> pDAList)
      Ctor.
      Parameters:
      pReqMsg -
      pDAList -
  • Method Details

    • next

      public java.lang.Object next() throws java.util.NoSuchElementException
      This implementation can throw RuntimeExceptions. They can be ignored or used for analysis.
      Specified by:
      next in interface ServiceLocationEnumeration
      Returns:
      The next value
      Throws:
      java.util.NoSuchElementException - If there are no more elements to return.
      See Also:
    • nextException

      public java.lang.Object nextException() throws java.util.NoSuchElementException
      Specified by:
      nextException in interface ServiceLocationEnumeration
      Returns:
      next Object in Exception table
      Throws:
      java.util.NoSuchElementException - This in internal implementation to get list of all exceptions thrown/caught by parser This can throw RuntimeExceptions. They can be ignored or used for analysis. use hasNextException to check whether there exists another element in Exception table
    • hasMoreExceptions

      public boolean hasMoreExceptions()
      Specified by:
      hasMoreExceptions in interface ServiceLocationEnumeration
      Returns:
      true if there exists another element in Exception table
    • hasMoreElements

      public boolean hasMoreElements()
      Specified by:
      hasMoreElements in interface java.util.Enumeration<java.lang.Object>
    • nextElement

      public java.lang.Object nextElement() throws java.util.NoSuchElementException
      Specified by:
      nextElement in interface java.util.Enumeration<java.lang.Object>
      Throws:
      java.util.NoSuchElementException
    • getPort

      public int getPort()
      For diagnostic only!
      Returns:
      int