org.tango.server.command
Class CommandConfiguration

java.lang.Object
  extended by org.tango.server.command.CommandConfiguration
All Implemented Interfaces:
PolledObjectConfig

public final class CommandConfiguration
extends java.lang.Object
implements PolledObjectConfig


Field Summary
static java.lang.String UNINITIALISED
           
 
Constructor Summary
CommandConfiguration()
           
CommandConfiguration(java.lang.String name, java.lang.Class<?> inType, java.lang.Class<?> outType, java.lang.String inTypeDesc, java.lang.String outTypeDesc, fr.esrf.Tango.DispLevel dispLevel, boolean isPolled, int pollingPeriod)
           
 
Method Summary
 fr.esrf.Tango.DispLevel getDispLevel()
           
 int getInTangoType()
           
 java.lang.Class<?> getInType()
           
 java.lang.String getInTypeDesc()
           
 java.lang.String getName()
          Get name of the polled object
 int getOutTangoType()
           
 java.lang.Class<?> getOutType()
           
 java.lang.String getOutTypeDesc()
           
 int getPollingPeriod()
           
 boolean isPolled()
           
 void setDispLevel(fr.esrf.Tango.DispLevel dispLevel)
           
 void setInTangoType(int inTangoType)
           
 void setInType(java.lang.Class<?> inType)
           
 void setInTypeDesc(java.lang.String inTypeDesc)
           
 void setName(java.lang.String name)
           
 void setOutTangoType(int outTangoType)
           
 void setOutType(java.lang.Class<?> outType)
           
 void setOutTypeDesc(java.lang.String outTypeDesc)
           
 void setPolled(boolean isPolled)
          Set polling
 void setPollingPeriod(int pollingPeriod)
          Set polling period
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNINITIALISED

public static final java.lang.String UNINITIALISED
See Also:
Constant Field Values
Constructor Detail

CommandConfiguration

public CommandConfiguration()

CommandConfiguration

public CommandConfiguration(java.lang.String name,
                            java.lang.Class<?> inType,
                            java.lang.Class<?> outType,
                            java.lang.String inTypeDesc,
                            java.lang.String outTypeDesc,
                            fr.esrf.Tango.DispLevel dispLevel,
                            boolean isPolled,
                            int pollingPeriod)
                     throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed
Method Detail

getName

public java.lang.String getName()
Description copied from interface: PolledObjectConfig
Get name of the polled object

Specified by:
getName in interface PolledObjectConfig
Returns:
the name of the polled object

setName

public void setName(java.lang.String name)

getInType

public java.lang.Class<?> getInType()

setInType

public void setInType(java.lang.Class<?> inType)
               throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed

getOutType

public java.lang.Class<?> getOutType()

setOutType

public void setOutType(java.lang.Class<?> outType)
                throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed

getInTypeDesc

public java.lang.String getInTypeDesc()

setInTypeDesc

public void setInTypeDesc(java.lang.String inTypeDesc)

getOutTypeDesc

public java.lang.String getOutTypeDesc()

setOutTypeDesc

public void setOutTypeDesc(java.lang.String outTypeDesc)

getDispLevel

public fr.esrf.Tango.DispLevel getDispLevel()

setDispLevel

public void setDispLevel(fr.esrf.Tango.DispLevel dispLevel)

getInTangoType

public int getInTangoType()

setInTangoType

public void setInTangoType(int inTangoType)
                    throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed

getOutTangoType

public int getOutTangoType()

setOutTangoType

public void setOutTangoType(int outTangoType)
                     throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getPollingPeriod

public int getPollingPeriod()

setPollingPeriod

public void setPollingPeriod(int pollingPeriod)
Description copied from interface: PolledObjectConfig
Set polling period

Specified by:
setPollingPeriod in interface PolledObjectConfig

isPolled

public boolean isPolled()

setPolled

public void setPolled(boolean isPolled)
Description copied from interface: PolledObjectConfig
Set polling

Specified by:
setPolled in interface PolledObjectConfig


Copyright © 2012-2014. All Rights Reserved.