Class RemoteStateManager
Inheritance
System.Object
RemoteStateManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: FChoice.Common.dll
Syntax
public abstract class RemoteStateManager : IStateManager
Constructors
RemoteStateManager()
Declaration
protected RemoteStateManager()
Fields
applicationName
Declaration
protected string applicationName
Field Value
Type |
Description |
System.String |
|
appParameterTemplate
Declaration
protected IDbDataParameter appParameterTemplate
Field Value
Type |
Description |
System.Data.IDbDataParameter |
|
configNode
Declaration
protected XmlNode configNode
Field Value
Type |
Description |
System.Xml.XmlNode |
|
connectionString
Declaration
protected string connectionString
Field Value
Type |
Description |
System.String |
|
log
Declaration
Field Value
provider
Declaration
protected DbProvider provider
Field Value
providerAlias
Declaration
protected string providerAlias
Field Value
Type |
Description |
System.String |
|
timeoutMinutes
Declaration
protected int timeoutMinutes
Field Value
Type |
Description |
System.Int32 |
|
Properties
ApplicationName
Declaration
public string ApplicationName { get; set; }
Property Value
Type |
Description |
System.String |
|
ConnectionString
Declaration
public string ConnectionString { get; }
Property Value
Type |
Description |
System.String |
|
IsStateSerialized
Declaration
public bool IsStateSerialized { get; }
Property Value
Type |
Description |
System.Boolean |
|
Provider
Declaration
public DbProvider Provider { get; }
Property Value
StateTimeout
Declaration
public TimeSpan StateTimeout { get; set; }
Property Value
Type |
Description |
System.TimeSpan |
|
Methods
GetApplicationStates()
Declaration
public object[] GetApplicationStates()
Returns
Type |
Description |
System.Object[] |
|
GetApplicationStates(Type)
Declaration
public object[] GetApplicationStates(Type stateType)
Parameters
Type |
Name |
Description |
System.Type |
stateType |
|
Returns
Type |
Description |
System.Object[] |
|
GetCurrentStates()
Declaration
public abstract object[] GetCurrentStates()
Returns
Type |
Description |
System.Object[] |
|
InitializeManager(String, TimeSpan, XmlNode)
Declaration
public void InitializeManager(string applicationName, TimeSpan timeoutLength, XmlNode configNode)
Parameters
Type |
Name |
Description |
System.String |
applicationName |
|
System.TimeSpan |
timeoutLength |
|
System.Xml.XmlNode |
configNode |
|
InitializeState(Guid)
Declaration
public abstract void InitializeState(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
IsStateExpired(Guid)
Declaration
public abstract bool IsStateExpired(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
Type |
Description |
System.Boolean |
|
LoadState(Guid)
Declaration
public abstract byte[] LoadState(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
Type |
Description |
System.Byte[] |
|
LoadState(Guid, Type)
Declaration
public object LoadState(Guid id, Type stateType)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.Type |
stateType |
|
Returns
Type |
Description |
System.Object |
|
RemoveExpiredStates()
Declaration
public abstract Guid[] RemoveExpiredStates()
Returns
Type |
Description |
System.Guid[] |
|
RemoveState(Guid)
Declaration
public abstract void RemoveState(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
ResetTimeout(Guid)
Declaration
public abstract void ResetTimeout(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
SaveState(Guid, Byte[])
Declaration
public abstract void SaveState(Guid id, byte[] state)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.Byte[] |
state |
|
SaveState(Guid, Object)
Declaration
public void SaveState(Guid id, object state)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.Object |
state |
|
ValidateIsSerialzable(Type)
Declaration
protected void ValidateIsSerialzable(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
ValidateSetup(XmlNode)
Declaration
protected virtual void ValidateSetup(XmlNode config)
Parameters
Type |
Name |
Description |
System.Xml.XmlNode |
config |
|
Implements