org.tango.server
Enum InvocationContext.CallType

java.lang.Object
  extended by java.lang.Enum<InvocationContext.CallType>
      extended by org.tango.server.InvocationContext.CallType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvocationContext.CallType>
Enclosing class:
InvocationContext

public static enum InvocationContext.CallType
extends java.lang.Enum<InvocationContext.CallType>

Describe how the value retrieval is performed

Author:
ABEILLE

Enum Constant Summary
CACHE
          retrieve value in cache (updated by polling)
CACHE_DEV
          If polling is on, retrieve value in cache, in device otherwise
DEV
          Call will be done on the device
POLLING
          The call is done from the polling threads.
UNKNOWN
          Unknown source call.
 
Method Summary
static InvocationContext.CallType getFromDevSource(fr.esrf.Tango.DevSource devSource)
           
static InvocationContext.CallType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InvocationContext.CallType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEV

public static final InvocationContext.CallType DEV
Call will be done on the device


CACHE

public static final InvocationContext.CallType CACHE
retrieve value in cache (updated by polling)


CACHE_DEV

public static final InvocationContext.CallType CACHE_DEV
If polling is on, retrieve value in cache, in device otherwise


POLLING

public static final InvocationContext.CallType POLLING
The call is done from the polling threads.


UNKNOWN

public static final InvocationContext.CallType UNKNOWN
Unknown source call.

Method Detail

values

public static InvocationContext.CallType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (InvocationContext.CallType c : InvocationContext.CallType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static InvocationContext.CallType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getFromDevSource

public static InvocationContext.CallType getFromDevSource(fr.esrf.Tango.DevSource devSource)


Copyright © 2012-2016. All Rights Reserved.