C# Class TSystems.RELOAD.Usage.AccessList

This class implements the RELOAD Usage for shared resource access
Inheritance: IUsage
Afficher le fichier Open project: RELOAD-NET/RELOAD.NET Class Usage Examples

Méthodes publiques

Свойство Type Description
data AccessListData

Méthodes publiques

Méthode Description
AccessList ( UsageManager manager ) : System
AppProcedure ( MessageTransport transport, List kindRes ) : void
Create ( int type ) : IUsage
DataModel ( ) : ReloadGlobals.DataModel
Encapsulate ( System.Boolean exists ) : StoredDataValue
Equals ( object obj ) : bool

Compare of two ACLs are equal.

FromReader ( ReloadMessage rm, BinaryReader reader, long usage_size ) : IUsage

Deserializes AccessControlList Kind from byte stream.

GetHashCode ( ) : int
Report ( ) : string
dump ( BinaryWriter writer ) : UInt32

Serializes the AccessControlList Kind.

Private Methods

Méthode Description
AccessList ( string resource_name, string to_user, UInt32 kindId, System.Boolean allow_delegation, UsageManager manager ) : System

This contructor instanciates an Access List Kind.

SetHashCode ( ) : void

Method Details

AccessList() public méthode

public AccessList ( UsageManager manager ) : System
manager UsageManager
Résultat System

AppProcedure() public méthode

public AppProcedure ( MessageTransport transport, List kindRes ) : void
transport TSystems.RELOAD.Transport.MessageTransport
kindRes List
Résultat void

Create() public méthode

public Create ( int type ) : IUsage
type int
Résultat IUsage

DataModel() public méthode

public DataModel ( ) : ReloadGlobals.DataModel
Résultat ReloadGlobals.DataModel

Encapsulate() public méthode

public Encapsulate ( System.Boolean exists ) : StoredDataValue
exists System.Boolean
Résultat TSystems.RELOAD.Storage.StoredDataValue

Equals() public méthode

Compare of two ACLs are equal.
public Equals ( object obj ) : bool
obj object ACL to compare.
Résultat bool

FromReader() public méthode

Deserializes AccessControlList Kind from byte stream.
public FromReader ( ReloadMessage rm, BinaryReader reader, long usage_size ) : IUsage
rm TSystems.RELOAD.Transport.ReloadMessage Not used.
reader System.IO.BinaryReader Binary reader containing message byte stream.
usage_size long Not used. ACL has fix length.
Résultat IUsage

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Report() public méthode

public Report ( ) : string
Résultat string

dump() public méthode

Serializes the AccessControlList Kind.
public dump ( BinaryWriter writer ) : UInt32
writer System.IO.BinaryWriter Binary writer containing the message byte stream.
Résultat System.UInt32

Property Details

data public_oe property

public AccessListData,TSystems.RELOAD.Usage data
Résultat AccessListData