Class ClientTransactionIdGenerator
Generate a client transaction ID. This identifier can be useful to associate events in device and client logs
Inheritance
System.Object
ClientTransactionIdGenerator
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ES.Ascom.Alpaca.Client.Request
Assembly: ES.Ascom.Alpaca.Client.dll
Syntax
public class ClientTransactionIdGenerator : IClientTransactionIdGenerator
Methods
| Improve this Doc View SourceGetTransactionId(Int32)
Generate a client transaction ID.
The client start to count at 1 and increment by one on each call for a given clientId
Declaration
public int GetTransactionId(int clientId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | clientId |
Returns
Type | Description |
---|---|
System.Int32 | Generated client transaction ID |