pl.mn.communicator
Class PublicDirSearchReply

java.lang.Object
  extended by pl.mn.communicator.PublicDirSearchReply

public class PublicDirSearchReply
extends java.lang.Object

This class represents an object that is contructed as a result of a reply from Gadu-Gadu's public directory.

It holds the collection of entries, each entry represents a single matched Gadu-Gadu user. These entries can be viewed through a public iterator.

Created on 2004-11-27

Version:
$Id: PublicDirSearchReply.java,v 1.1 2005/11/05 23:34:52 winnetou25 Exp $
Author:
Mateusz Szczap

Nested Class Summary
static class PublicDirSearchReply.Entry
           
 
Constructor Summary
PublicDirSearchReply()
           
 
Method Summary
 PublicDirSearchReply.Entry createSearchEntry()
          Method that creates a new entry and adds it to entries collection.
 java.lang.Integer getNextStart()
          Returns nextStart.
 java.util.Iterator listResults()
          Returns an unmodifiable iterator over search results entries.
 void setNextStart(java.lang.Integer nextStart)
          Sets nextStart.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicDirSearchReply

public PublicDirSearchReply()
Method Detail

createSearchEntry

public PublicDirSearchReply.Entry createSearchEntry()
Method that creates a new entry and adds it to entries collection.

Returns:
PublicDirSearchReply.Entry object

listResults

public java.util.Iterator listResults()
Returns an unmodifiable iterator over search results entries.

Returns:
Iterator over search results entries.

setNextStart

public void setNextStart(java.lang.Integer nextStart)
Sets nextStart.

Parameters:
nextStart -

getNextStart

public java.lang.Integer getNextStart()
Returns nextStart.

Returns:
Integer value that holds nextStart.


Copyright 2004-2004-2005 SourceForge.net. All Rights Reserved.