webmngr.rmi
Interface DataPoller

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
DataPollerServer

public interface DataPoller
extends java.rmi.Remote

Esta classe é a interface do objeto remoto que será transferido via RMI.
Title: WebManager v2.0
Description: A web tool to network management.
Copyright: Copyright (c) 2002
Company: DSC/UFPB

Author:
Adriano Carolino de Melo

Method Summary
 Timestamp getDataFromServer(java.lang.String oid, java.lang.String deviceName)
          Returns the Timestamp that will be used to draw the animated graphic.
 java.lang.String startTemporaryMonitor(java.lang.String hostname, int interval)
          Starts a new temporary monitor
 void stopTemporaryMonitor(java.lang.String hostname)
          Stops the temporary monitor
 

Method Detail

getDataFromServer

public Timestamp getDataFromServer(java.lang.String oid,
                                   java.lang.String deviceName)
                            throws java.rmi.RemoteException
Returns the Timestamp that will be used to draw the animated graphic.
Parameters:
oid - and device name
Returns:
the information

startTemporaryMonitor

public java.lang.String startTemporaryMonitor(java.lang.String hostname,
                                              int interval)
                                       throws java.rmi.RemoteException
Starts a new temporary monitor
Parameters:
hostname - and poll interval
Returns:
the name of this temporary monitor

stopTemporaryMonitor

public void stopTemporaryMonitor(java.lang.String hostname)
                          throws java.rmi.RemoteException
Stops the temporary monitor
Parameters:
host - name