TagResponseAssembler Class

TegoOS

TagResponseAssembler Class
Helper class to enable building responses for Execute() and StartExecute() from individual operation responses. In synchronous modes, the MergeByEPC property (default true) controls whether multiple tag responses from the same EPC are merged. Initialize() sets up the helper with the list of operations and any asynchronous handler. As operations are executed by the reader, the results should be handled by making calls to the Add() methods. In asynchronous mode, this will cause callbacks to made whenever a TagResponse object is complete (i.e. the operations have completed successfully or an error occured. Finally, syncronous results should be accessed via GetTagResponses().
Inheritance Hierarchy
SystemObject  Tego.Rfid.Gen2.ImplementationTagResponseAssembler

Namespace: Tego.Rfid.Gen2.Implementation
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
public class TagResponseAssembler
Public Class TagResponseAssembler
public ref class TagResponseAssembler
type TagResponseAssembler =  class end

The TagResponseAssembler type exposes the following members.

Constructors
  NameDescription
Public methodTagResponseAssembler
Create a new TagResponseBuilder object.
Top
Properties
  NameDescription
Public propertyCurrentOperation
Gets the currently expected operation.
Public propertyIsSynchronous
Gets whether responses are being handled synchronously (i.e. returned at end of Execute() method).
Top
Methods
  NameDescription
Public methodAdd
Process an operation response.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetTagResponses
Gets the list of TagResponse objects to return from an Execute() call.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize(IListOperation, ActionTagResponse)
Initialize for asynchronous execution (StartExecution(...)).
Public methodInitialize(IListOperation, Boolean)
Initialize for synchronous execution (Execute(...)).
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also