UA Bundle SDK .NET  2.2.1.258
 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.BaseObjectModel, 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.BaseObjectModel
 BaseObjectModel ()
 Initializes a new instance of the BaseObjectModel class. More...
 
 BaseObjectModel (BaseObjectModel template)
 Initializes a new instance of the BaseObjectModel class. 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...
 

Detailed Description

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

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.FileModel.FileModel ( )
inline

Initializes a new instance of the FileModel class.

UnifiedAutomation.UaServer.FileModel.FileModel ( FileModel  template)
inline

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 
)
inlinevirtual

Dispatches the method.

Parameters
contextThe 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 
)
inlinevirtual

Gets the method dispatcher.

Parameters
contextThe 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 current number of open file handles.

ulong UnifiedAutomation.UaServer.FileModel.Size
getset

Gets or sets the Size

The size of the file in bytes.

bool UnifiedAutomation.UaServer.FileModel.UserWriteable
getset

Gets or sets the UserWriteable

Whether the file is writeable by the current user.

bool UnifiedAutomation.UaServer.FileModel.Writeable
getset

Gets or sets the Writeable

Whether the file is writeable.


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