UA Bundle SDK .NET  2.1.2.227
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaServer.FileModel Class Reference

An object that represents a file that can be accessed via the server. More...

Inherits UnifiedAutomation.UaServer.ModelControllerBase, and UnifiedAutomation.UaServer.IMethodDispatcher.

Inherited by UnifiedAutomation.UaServer.AddressSpaceFileModel.

Public Member Functions

 FileModel ()
 Initializes a new instance of the FileModel class. More...
 
 FileModel (FileModel template)
 Initializes a new instance of the FileModel class. More...
 
virtual CallMethodEventHandler GetMethodDispatcher (RequestContext context, NodeId objectId, NodeId methodId)
 Gets the method dispatcher. More...
 
virtual StatusCode DispatchMethod (RequestContext context, MethodHandle methodHandle, IList< Variant > inputArguments, List< StatusCode > inputArgumentResults, List< Variant > outputArguments)
 Dispatches the method. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaServer.ModelControllerBase
virtual ModelHandle GetModelHandle (StringTable namespaceUris, object instance)
 Gets the metadata handle. More...
 
virtual DataValue GetValue (IMapperContext context, ModelMapping mapping)
 Gets the value associated with the mapping. More...
 
virtual bool SetValue (IMapperContext context, ModelMapping mapping, DataValue value)
 Sets the value associated with the mapping. More...
 

Properties

ushort OpenCount [get, set]
 Gets or sets the OpenCount More...
 
ulong Size [get, set]
 Gets or sets the Size More...
 
bool UserWriteable [get, set]
 Gets or sets the UserWriteable More...
 
bool Writeable [get, set]
 Gets or sets the Writeable More...
 
IFileMethods FileMethods [get, set]
 Gets or sets the File methods. More...
 
- Properties inherited from UnifiedAutomation.UaServer.ModelControllerBase
ModelHandle ModelHandle [get, set]
 Gets or sets the metadata handle. More...
 
object UserData [get, set]
 Gets or sets the user data. More...
 

Detailed Description

An object that represents a file that can be accessed via the server.

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.FileModel.FileModel ( )

Initializes a new instance of the FileModel class.

UnifiedAutomation.UaServer.FileModel.FileModel ( FileModel  template)

Initializes a new instance of the FileModel class.

Parameters
templateThe template.

Member Function Documentation

virtual StatusCode UnifiedAutomation.UaServer.FileModel.DispatchMethod ( RequestContext  context,
MethodHandle  methodHandle,
IList< Variant inputArguments,
List< StatusCode inputArgumentResults,
List< Variant outputArguments 
)
virtual

Dispatches the method.

Parameters
contextThe request context.
methodHandleThe method handle.
inputArgumentsThe input arguments.
inputArgumentResultsThe input argument results.
outputArgumentsThe output arguments.
Returns

Reimplemented in UnifiedAutomation.UaServer.AddressSpaceFileModel.

virtual CallMethodEventHandler UnifiedAutomation.UaServer.FileModel.GetMethodDispatcher ( RequestContext  context,
NodeId  objectId,
NodeId  methodId 
)
virtual

Gets the method dispatcher.

Parameters
contextThe request context.
objectIdThe object id.
methodIdThe method id.
Returns

Implements UnifiedAutomation.UaServer.IMethodDispatcher.

Reimplemented in UnifiedAutomation.UaServer.AddressSpaceFileModel.

Property Documentation

IFileMethods UnifiedAutomation.UaServer.FileModel.FileMethods
getset

Gets or sets the File methods.

The File methods.

ushort UnifiedAutomation.UaServer.FileModel.OpenCount
getset

Gets or sets the OpenCount

The OpenCount The current number of open file handles.

ulong UnifiedAutomation.UaServer.FileModel.Size
getset

Gets or sets the Size

The Size The size of the file in bytes.

bool UnifiedAutomation.UaServer.FileModel.UserWriteable
getset

Gets or sets the UserWriteable

The UserWriteable Whether the file is writeable by the current user.

bool UnifiedAutomation.UaServer.FileModel.Writeable
getset

Gets or sets the Writeable

The Writeable Whether the file is writeable.


The documentation for this class was generated from the following file: