com.sun.jini.reggie
Class RegistrarImpl.SvcIterator

java.lang.Object
  extended by com.sun.jini.reggie.RegistrarImpl.ItemIter
      extended by com.sun.jini.reggie.RegistrarImpl.SvcIterator
Enclosing class:
RegistrarImpl

private class RegistrarImpl.SvcIterator
extends RegistrarImpl.ItemIter

Iterates over all services that match template's service types


Field Summary
private  Iterator services
          Iterator for list of matching services.
 
Fields inherited from class com.sun.jini.reggie.RegistrarImpl.ItemIter
dupsPossible, now, reg, tmpl
 
Constructor Summary
RegistrarImpl.SvcIterator(Template tmpl)
          tmpl.serviceID == null and tmpl.serviceTypes is not empty
 
Method Summary
protected  void step()
          Set reg to the next matching element, or null if none.
 
Methods inherited from class com.sun.jini.reggie.RegistrarImpl.ItemIter
hasNext, next, nextReg
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

services

private final Iterator services
Iterator for list of matching services.

Constructor Detail

RegistrarImpl.SvcIterator

public RegistrarImpl.SvcIterator(Template tmpl)
tmpl.serviceID == null and tmpl.serviceTypes is not empty

Method Detail

step

protected void step()
Set reg to the next matching element, or null if none.

Specified by:
step in class RegistrarImpl.ItemIter


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.