Class LockSessionData
Contains data to establish a session on a remote lock server. Clients should use LockSession instead, which is obtained from the local LockManager.MakeSession
Inheritance
System.Object
LockSessionData
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Sky.Locking.Server
Assembly: Azos.Sky.dll
Syntax
[Serializable]
public sealed class LockSessionData : INamed, IEquatable<LockSessionData>
Fields
Description
Declaration
public readonly string Description
Field Value
Type | Description |
---|---|
System.String |
ID
Declaration
public readonly LockSessionID ID
Field Value
Type | Description |
---|---|
LockSessionID |
MaxAgeSec
Declaration
public readonly int? MaxAgeSec
Field Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Properties
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(LockSessionData)
Declaration
public bool Equals(LockSessionData other)
Parameters
Type | Name | Description |
---|---|---|
LockSessionData | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>