org.xnap.plugin.opennap.net
Interface OpenNapServerReader

All Known Implementing Classes:
NapigatorReader, OpenNapServerFileReader, WSXFileReader

public interface OpenNapServerReader

Defines the requirements for classes that provide support to read server information from external sources.


Method Summary
 void close()
          Invoked when the stream is closed.
 void open()
          Invoked when the stream is opened.
 OpenNapServer read()
          Called successively after open was invoked.
 

Method Detail

close

void close()
Invoked when the stream is closed.


open

void open()
          throws java.io.IOException
Invoked when the stream is opened.

Throws:
java.io.IOException

read

OpenNapServer read()
                   throws java.io.IOException
Called successively after open was invoked.

Returns:
null, if the end of the stream has been reached, close will be called then
Throws:
java.io.IOException


Copyright © 2001-2005 XNap Team. All Rights Reserved.