mandala.jacob.remote.rmi
Class RMIIteratorImpl

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended bymandala.jacob.remote.rmi.RMIIteratorImpl
All Implemented Interfaces:
java.rmi.Remote, mandala.jacob.remote.rmi.RMIIteratorOp, java.io.Serializable

public class RMIIteratorImpl
extends java.rmi.server.UnicastRemoteObject
implements mandala.jacob.remote.rmi.RMIIteratorOp

Java-RMI implementation of the RMIIterator interface.

Version:
$Revision: 1.1 $
Author:
eipi
See Also:
RMIIterator, UnicastRemoteObject, Serialized Form

Field Summary
protected  java.util.Iterator iterator
          The Iterator used.
protected static Syslog syslog
          Message logger.
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RMIIteratorImpl(java.util.Iterator iterator)
           
RMIIteratorImpl(java.util.Iterator iterator, int port)
           
 
Method Summary
static Syslog getSyslog()
          Returns the Syslog object facility.
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 java.lang.String toString()
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

syslog

protected static final Syslog syslog

Message logger.

Each message (debug, log, warning, error, ...) are wrote to this message logger.

See Also:
Syslog

iterator

protected java.util.Iterator iterator
The Iterator used.

See Also:
Iterator
Constructor Detail

RMIIteratorImpl

public RMIIteratorImpl(java.util.Iterator iterator)
                throws java.rmi.RemoteException

RMIIteratorImpl

public RMIIteratorImpl(java.util.Iterator iterator,
                       int port)
                throws java.rmi.RemoteException
Method Detail

getSyslog

public static Syslog getSyslog()

Returns the Syslog object facility.

Each message (debug, log, warning, error, ...) are wrote to this message logger.

Returns:
the Syslog object
See Also:
Syslog

hasNext

public boolean hasNext()
                throws java.rmi.RemoteException
Specified by:
hasNext in interface mandala.jacob.remote.rmi.RMIIteratorOp
Throws:
java.rmi.RemoteException

next

public java.lang.Object next()
                      throws java.rmi.RemoteException
Specified by:
next in interface mandala.jacob.remote.rmi.RMIIteratorOp
Throws:
java.rmi.RemoteException

remove

public void remove()
            throws java.rmi.RemoteException
Specified by:
remove in interface mandala.jacob.remote.rmi.RMIIteratorOp
Throws:
java.rmi.RemoteException

toString

public java.lang.String toString()


Mandala help mailing list