edu.cmu.cs.able.gaugeInfrastructure.RMI
Class RMIGaugeHandleImp

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--edu.cmu.cs.able.gaugeInfrastructure.RMI.RMIGaugeHandleImp
All Implemented Interfaces:
java.rmi.Remote, RMIGaugeHandleInt, java.io.Serializable

public class RMIGaugeHandleImp
extends java.rmi.server.UnicastRemoteObject
implements RMIGaugeHandleInt, java.io.Serializable

RMIGaugeHandleImp is the implementation of RMIGaugeHandle.

Since:
JDK1.3.1
See Also:
Serialized Form

Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RMIGaugeHandleImp(RMIGauge gauge)
          Creates new RMIGaugeHandleImp
 
Method Summary
 boolean configure(StringPairVector configParams)
           
 void delete()
           
 StringPairVector getConfigParams()
           
 int getConfigParamsSize()
           
 RMIGauge getGauge()
           
 GaugeID getGaugeID()
           
 StringPairVector getSetupParams()
           
 int getSetupParamsSize()
           
 boolean queryAllValues(GaugeValueVector values)
           
 boolean queryState(StringPairVector setupParams, StringPairVector configParams, StringPairVector mappings)
           
 java.lang.String queryValue(java.lang.String valueName)
           
 
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

RMIGaugeHandleImp

public RMIGaugeHandleImp(RMIGauge gauge)
                  throws java.rmi.RemoteException
Creates new RMIGaugeHandleImp
Method Detail

getGauge

public RMIGauge getGauge()
                  throws java.rmi.RemoteException
Specified by:
getGauge in interface RMIGaugeHandleInt

getGaugeID

public GaugeID getGaugeID()
                   throws java.rmi.RemoteException
Specified by:
getGaugeID in interface RMIGaugeHandleInt

getConfigParamsSize

public int getConfigParamsSize()
                        throws java.rmi.RemoteException
Specified by:
getConfigParamsSize in interface RMIGaugeHandleInt

getConfigParams

public StringPairVector getConfigParams()
                                 throws java.rmi.RemoteException
Specified by:
getConfigParams in interface RMIGaugeHandleInt

getSetupParamsSize

public int getSetupParamsSize()
                       throws java.rmi.RemoteException
Specified by:
getSetupParamsSize in interface RMIGaugeHandleInt

getSetupParams

public StringPairVector getSetupParams()
                                throws java.rmi.RemoteException
Specified by:
getSetupParams in interface RMIGaugeHandleInt

queryAllValues

public boolean queryAllValues(GaugeValueVector values)
                       throws java.rmi.RemoteException
Specified by:
queryAllValues in interface RMIGaugeHandleInt

queryState

public boolean queryState(StringPairVector setupParams,
                          StringPairVector configParams,
                          StringPairVector mappings)
                   throws java.rmi.RemoteException
Specified by:
queryState in interface RMIGaugeHandleInt

queryValue

public java.lang.String queryValue(java.lang.String valueName)
                            throws java.rmi.RemoteException
Specified by:
queryValue in interface RMIGaugeHandleInt

configure

public boolean configure(StringPairVector configParams)
                  throws java.rmi.RemoteException
Specified by:
configure in interface RMIGaugeHandleInt

delete

public void delete()
            throws java.rmi.RemoteException
Specified by:
delete in interface RMIGaugeHandleInt