com.phoenix_int.aserver
Class Hierarchy
listProperties, getValue, and setValue functions.
Constructor Summary
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
PHXSimpleSelfManager
Method Detail
addVariable
groupName- the group to store the variable in. May be a dot-separated list of groupsvarName- the name of the variableisInput- true if the variable is an inputvar- the variable information to add
PHXNameAlreadyInUseException- thrown if the name is already in usePHXInvalidNameException- thrown if the name has invalid characters
addVariable
varName- the name of the variableisInput- true if the variable is an inputvar- the variable information to add
PHXNameAlreadyInUseException- thrown if the name is already in usePHXInvalidNameException- thrown if the name has invalid characters
addVariable
varInfo- the variable information object
PHXNameAlreadyInUseException- thrown if the name is already in usePHXInvalidNameException- thrown if the name has invalid characters
addVariable
groupName- the group to store the variable in. May be a dot-separated list of groupsvarInfo- the variable information object
PHXNameAlreadyInUseException- thrown if the name is already in usePHXInvalidNameException- thrown if the name has invalid characters
removeVariable
varInfo- the variable structure to remove
falseif the variable was not found
addMethod
name- the name of the methodfullName- the human readable nameisVisible- iftrue, the method is displayed using thelistMethodscommand. Invoking is handled by the derived class, so it is up to it whether invisible methods may be invoked.downloadInputs- iftrue, signal calling application that input variable values need to be reread
PHXNameAlreadyInUseException- thrown if the name is already in usePHXInvalidNameException- thrown if the name has invalid characters
getMethodDescriptor
- The
PHXMethodDescriptor, or null if not found.
addMethod
addMethod( String name, String fullName, boolean isVisible, boolean downloadInputs = false )
Parameters:
name- the name of the methodfullName- the human readable nameisVisible- iftrue, the method is displayed using thelistMethodscommand. Invoking is handled by the derived class, so it is up to it whether invisible methods may be invoked.
PHXNameAlreadyInUseException- thrown if the name is already in usePHXInvalidNameException- thrown if the name has invalid characters
addMethod
addMethod( String name, String fullName = name, boolean isVisible )
Parameters:
name- the name of the method
PHXNameAlreadyInUseException- thrown if the name is already in usePHXInvalidNameException- thrown if the name has invalid characters
addMethod
addMethod( String name, String fullName, boolean isVisible=true )
Parameters:
name- the name of the method
PHXNameAlreadyInUseException- thrown if the name is already in usePHXInvalidNameException- thrown if the name has invalid characters
addMethod
addMethod( String name, boolean isVisible=true )
Parameters:
name- the name of the method
PHXNameAlreadyInUseException- thrown if the name is already in usePHXInvalidNameException- thrown if the name has invalid characters
makeGroup
group- the name of the group. This name follows the dot-syntax format for the parent-child relationship
PHXNameAlreadyInUseException- thrown if the name is already in usePHXInvalidNameException- thrown if the name has invalid characters
getVariableFullName
var- the variable object
- the name of the variable or null if not found
getVariableInfo
var- the variable object
- the
PHXVariableInfoobject associated with the variable
PHXNoSuchObjectException- thrown if the specified variable is not found
getVariableInfo
fullVarName- The var name in format “group.group.name”
- the associated
variableInfoobject
PHXNoSuchObjectException- thrown if the specified variable is not found
getVariableInfo2
fullVarName- The var name in format “group.group.name”
- the associated
variableInfoobject or null if it doesn’t exist.
getVariableInfo
groupName- the group to store the variable in. May be a dot-separated list of groupsvarName- the name of the variable information object
- the associated
variableInfoobject
PHXNoSuchObjectException- thrown if the specified variable is not found
getVariableInfo2
groupName- the group to store the variable in. May be a dot-separated list of groupsvarName- the name of the variable information object
- the associated
variableInfoobject or null if not found
getGroup
group- the name of the group. This name follows the dot-syntax format for the parent-child relationship
PHXNoSuchObjectException- thrown if the specified group is not found
getGroup2
group- the name of the group. This name follows the dot-syntax format for the parent-child relationship
- The
PHXGroupobject, or null if not found.
getRootGroup
- the root group
setValue
setValuein interfaceIPHXSelfManager
name- the name of the variablevalue- the value to store
PHXNoSuchObjectException- thrown if the specified object does not existPHXNoSuchWriteableObjectException- thrown if the specified object cannot be written tojava.lang.Exception- thrown if the value cannot be set
setValue2
name- the name of the variablevalue- the value to store
PHXNoSuchObjectException- thrown if the specified object does not existPHXNoSuchWriteableObjectException- thrown if the specified object cannot be written tojava.lang.Exception- thrown if the value cannot be set
forceSetValue
name- the name of the variablevalue- the value to store
PHXNoSuchObjectException- thrown if the specified object does not existjava.lang.Exception- thrown if the value cannot be set
setValueActual
PHXNoSuchObjectExceptionPHXNoSuchWriteableObjectExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetException
getValue
getValuein interfaceIPHXSelfManager
name- the name of the variable
- a String reprentation of the value
PHXNoSuchObjectException- thrown if the specified object does not existjava.lang.Exception- thrown if the value cannot be retrieved
getValue2
name- the name of the variable
PHXNoSuchObjectException- thrown if the specified object does not existjava.lang.Exception- thrown if the value cannot be retrieved
getPropertyDescriptors
getPropertyDescriptorsin interfaceIPHXSelfManager
name- the name of the object to retrieve the property descriptors. If the value is null, then the top level is searched.
- an array of
PHXPropertyDescriptors
PHXNoSuchObjectException- thrown if the specified object does not existjava.lang.Exception- thrown if the properties cannot be retrieved
getMethodDescriptors
getMethodDescriptorsin interfaceIPHXSelfManager
- an array of
MethodDescriptors
java.lang.Exception- thrown if the properties cannot be retrieved
invoke
invokein interfaceIPHXSelfManager
methodName- the name of the method to invoke on obj
- the return value from the invocation
java.lang.Exception- thrown if a problem occurs invoking the method
invoke2
methodName- the name of the method to invoke on obj
- the return value from the invocation
java.lang.Exception- thrown if a problem occurs invoking the method
end
IPHXComponent
Notifies the driver that it has ended. The driver should perform any necesary shutdown functions.
Specified by:
endin interfaceIPHXComponent
java.lang.Exception- thrown if the function does not complete succesfully