Struct ProcessFrame
Provides an efficient data vector for marshalling and storage of process. This type obviates the need of extra serialization for teleportation and storage of Process instances. Special-purposed Glue binding is used to teleport ProcessFrames and directly store them without unnecessary intermediate serialization steps
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Sky.Workers
Assembly: Azos.Sky.dll
Syntax
[Serializable]
public struct ProcessFrame
Constructors
ProcessFrame(Process, Nullable<Int32>)
Frames the Todo instance, pass serialize null to frame only Sys Fields without content
Declaration
public ProcessFrame(Process process, int? serializer)
Parameters
Type | Name | Description |
---|---|---|
Process | process | |
System.Nullable<System.Int32> | serializer |
Fields
Content
Declaration
public byte[] Content
Field Value
Type | Description |
---|---|
System.Byte[] |
Descriptor
Declaration
public ProcessDescriptor Descriptor
Field Value
Type | Description |
---|---|
ProcessDescriptor |
Serializer
Declaration
public int Serializer
Field Value
Type | Description |
---|---|
System.Int32 |
SERIALIZER_BSON
Declaration
public const int SERIALIZER_BSON = 1
Field Value
Type | Description |
---|---|
System.Int32 |
SERIALIZER_DEFAULT
Declaration
public const int SERIALIZER_DEFAULT = 0
Field Value
Type | Description |
---|---|
System.Int32 |
Type
Declaration
public Guid Type
Field Value
Type | Description |
---|---|
System.Guid |
Methods
Materialize(IGuidTypeResolver)
Materializes the Process instance represented by this frame in the scope of IGuidTypeResolver
Declaration
public Process Materialize(IGuidTypeResolver resolver)
Parameters
Type | Name | Description |
---|---|---|
IGuidTypeResolver | resolver |
Returns
Type | Description |
---|---|
Process |