Click or drag to resize
SetVarAction Class
The SetVar action sets the value of a channel variable for a given channel.
Inheritance Hierarchy

Namespace: AsterNET.Manager.Action
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class SetVarAction : ManagerAction

The SetVarAction type exposes the following members.

Constructors
  NameDescription
Public methodSetVarAction
Creates a new empty SetVarAction.
Public methodSetVarAction(String, String)
Creates a new SetVarAction that sets the given global variable to a new value.
Public methodSetVarAction(String, String, String)
Creates a new SetVarAction that sets the given channel variable of the given channel to a new value.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Inherited from ManagerAction.)
Top
Fields
  NameDescription
Public fieldchannel
The channel on which to set the variable.
Public fieldvarName
The name of the variable to set.
Public fieldvarValue
The value to store.
Top
Properties
  NameDescription
Public propertyAction
Get the name of this action, i.e. "SetVar".
(Overrides ManagerActionAction.)
Public propertyActionId (Inherited from ManagerAction.)
Public propertyChannel
Get/Set the name of the channel.
Public propertyProxyKey (Inherited from ManagerAction.)
Public propertyServer
Specify a server to which to send your commands (x.x.x.x or hostname).
This should match the server name specified in your config file's "host" entry. If you do not specify a server, the proxy will pick the first one it finds -- fine in single-server configurations.
(Inherited from ManagerAction.)
Public propertyValue
Get/Set the value to store.
Public propertyVariable
Get/Set the name of the variable to set.
Top
See Also