com.sun.multicast.reliable.applications.testtools
Class CallGDImpl

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--com.sun.multicast.reliable.applications.testtools.CallGDImpl
All Implemented Interfaces:
CallProduct, java.rmi.Remote, java.io.Serializable

public class CallGDImpl
extends java.rmi.server.UnicastRemoteObject
implements CallProduct

Implements all RMI functions. Creates Graphs and keeps track of receiver information in a central location. Allow Graph to reset bytes/time so lines can stay on the graph. Also used for starting receivers over the network.

See Also:
Serialized Form

Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
CallGDImpl()
          Starts GraphManager and ResetGDManager (GraphData) singletons
 
Method Summary
 void callMCTestQA(java.lang.String commandline)
          Starts receivers
 void drawGraph(com.sun.multicast.reliable.applications.testtools.GraphData gd)
          Draws lines on the Graphs using Graph Data
 boolean getReset()
          Gets the flag that lets receivers know whether or not the graph is in the process of being reset.
 void printGraph()
          Used only for debugging
 boolean selectVM(java.lang.String host)
          Helps decide which VM to use
 void setHost(java.lang.String hostname)
          Sets a host member of the hash to true.
 void setReset(boolean set)
          Sets the flag that lets receivers know whether or not the graph is in the process of being reset.
 void startPerfMon()
          Starts the Performance Monitor Graph engine
 void testResetHash()
          Tests the hash to see if all receivers have been successfully reset.
 
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, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CallGDImpl

public CallGDImpl()
           throws java.rmi.RemoteException
Starts GraphManager and ResetGDManager (GraphData) singletons
Method Detail

selectVM

public boolean selectVM(java.lang.String host)
                 throws java.rmi.RemoteException
Helps decide which VM to use
Specified by:
selectVM in interface CallProduct

startPerfMon

public void startPerfMon()
                  throws java.rmi.RemoteException
Starts the Performance Monitor Graph engine
Specified by:
startPerfMon in interface CallProduct

drawGraph

public void drawGraph(com.sun.multicast.reliable.applications.testtools.GraphData gd)
               throws java.rmi.RemoteException
Draws lines on the Graphs using Graph Data
Specified by:
drawGraph in interface CallProduct

setReset

public void setReset(boolean set)
              throws java.rmi.RemoteException
Sets the flag that lets receivers know whether or not the graph is in the process of being reset.
Specified by:
setReset in interface CallProduct

getReset

public boolean getReset()
                 throws java.rmi.RemoteException
Gets the flag that lets receivers know whether or not the graph is in the process of being reset.
Specified by:
getReset in interface CallProduct

testResetHash

public void testResetHash()
                   throws java.rmi.RemoteException
Tests the hash to see if all receivers have been successfully reset. If yes, sets all members of the hash to false.
Specified by:
testResetHash in interface CallProduct

setHost

public void setHost(java.lang.String hostname)
             throws java.rmi.RemoteException
Sets a host member of the hash to true. Meaning reset.
Specified by:
setHost in interface CallProduct

printGraph

public void printGraph()
                throws java.rmi.RemoteException
Used only for debugging
Specified by:
printGraph in interface CallProduct

callMCTestQA

public void callMCTestQA(java.lang.String commandline)
                  throws java.rmi.RemoteException
Starts receivers
Specified by:
callMCTestQA in interface CallProduct


JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.